-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Invalid for_each argument with var.create_cluster_primary_security_group_tags = false #2264
Conversation
do you have a reproduction configuration that demonstrates your error message? |
@bryantbiggs Unfortunately I don't have it: I have very complex EKS setup which was stopped in the middle of destroying then after I rerun Maybe this is just a quirk in Terraform. Maybe it always break if BTW, I've got the situation when no any new plan was sucessful: I couldn't refresh this |
@bryantbiggs |
unfortunately, without a reproduction I'm not really able to provide any guidance/support |
I'm really disappointed that you don't want to accept trivial patch without long tests that will take a lot of time and $$ on AWS, when the error message is very clear:
It is because in
For the record: Everything is fine with v18.29.1 and I started to get any problems with v18.30.0. I use Terraform 1.3.2. |
I've run into the same issue today, We are running version 18.20.5 and wanted to upgrade to latest which is 18.30.2. It has failed due the same error.
For reference our eks module config, I've redacted some of the fields but this should give you general idea which ones we are using.
|
@jkotiuk change this tags = merge(
data.aws_default_tags.current.tags,
{
Terraform = "true"
}
) To tags = {
Terraform = "true"
} |
That didn't help, I've tried that already |
and what does your provider block look like with the default tags - the reproduction provided does not show any errors |
FYI - we are removing all usage of |
In that case I'll wait for v19 with further upgrades. |
This PR has been automatically marked as stale because it has been open 30 days |
This PR was automatically closed because of stale in 10 days |
This issue has been resolved in version 19.0.0 🎉 |
I want to thank you for almost (cluster_id -> cluster_name) smooth migration from 18.x to 19.x. Perfect job! Using this module is a pleasure. |
That is very kind, thank you |
I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
I've got today:
but I have
var.create_cluster_primary_security_group_tags = false
It worked with this patch.