-
-
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
Security group tags created by EKS could be overridden #2006
Comments
you should be able to re-override using |
Any good reason not to set the cluster_tags? |
No - we try to provide an "additional" tag for select resources where users might want to provide tags specific to that resource. |
This issue has been resolved in version 18.20.2 🎉 |
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. |
Description
Starting with 18.14.0, this introduced a resource to override tags of the cluster primary SG. This could be used to override a tag used by EKS to delete the SG when destroying the cluster, leaving the SG lingering and unmanaged, which can prevent destroying the VPC it's in.
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: 18.14.0 and above
Terraform version: v1.1.7
Reproduction Code [Required]
Steps to reproduce the behavior:
Pass in a "Name" tag to the module like for example:
Expected behavior
The cluster primary SG is automatically generated when creating an EKS cluster is also automatically removed when destroying the cluster.
Actual behavior
The cluster primary SG is not being destroyed if its tags are overridden.
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: