mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-27 03:41:05 +01:00
fix: The type of the output cloudwatch_log_group_name should be a string instead of a list of strings (#1061)
NOTES: The output `cloudwatch_log_group_name` was incorrectly returning the log group name as a list of strings. As a workaround, people were using `module.eks_cluster.cloudwatch_log_group_name[0]` but that was totally inconsistent with output name. Those users can now use `module.eks_cluster.cloudwatch_log_group_name` directly.
This commit is contained in:
@@ -58,7 +58,7 @@ output "cluster_primary_security_group_id" {
|
||||
|
||||
output "cloudwatch_log_group_name" {
|
||||
description = "Name of cloudwatch log group created"
|
||||
value = aws_cloudwatch_log_group.this[*].name
|
||||
value = element(concat(aws_cloudwatch_log_group.this[*].name, list("")), 0)
|
||||
}
|
||||
|
||||
output "kubeconfig" {
|
||||
|
||||
Reference in New Issue
Block a user