You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Incorrect attribute value type
on eks.tf line 151, in resource "aws_cloudwatch_log_subscription_filter" "eks_cluster_logs_to_lambda":
151: log_group_name = module.eks.cloudwatch_log_group_name
|----------------
| module.eeks.cloudwatch_log_group_name is tuple with 1 element
Inappropriate value for attribute "log_group_name": string required.
What's the expected behavior?
The cloudwatch_log_group_name output should be a simple string so it can be reused correctly.
Are you able to fix this problem and submit a PR? Link here if you have already.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I have issues
I'm submitting a...
What is the current behavior?
The
cloudwatch_log_group_name
output from the cluster is currently returned as a tuple.If this is a bug, how to reproduce? Please include a code sample if relevant.
cluster_enabled_log_types = ["api"]
so the CloudWatch group gets created.cloudwatch_log_group_name
output is in the statecloudwatch_log_group_name
output in a different resource, like below:What's the expected behavior?
The
cloudwatch_log_group_name
output should be a simple string so it can be reused correctly.Are you able to fix this problem and submit a PR? Link here if you have already.
#1061
Environment details
Any other relevant info
Temporary fix is to use
module.eks_cluster.cloudwatch_log_group_name[0]
instead but that's inconsistent with every other output.The text was updated successfully, but these errors were encountered: