-
-
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
Adding worker_additional_security_group_ids doesn't change existing nodes #1329
Comments
I think thats an expected behaviour for worker group launch template and not related to the module. |
I am experiencing the same issue with v0.17 and terraform 1.01 even when creating new EKS cluster. Providing worker_additional_security_group_ids with SG is not taking any effect. I wanted to use private cluster and open port for my CICD to access the k8 control plane
|
I've faced the similar issue as @toytown. Is there a way to assign the additional security group to node_groups? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
issue still occurs |
it should be solved in #1370 I see in your config that you dont have terraform-aws-eks/examples/instance_refresh/main.tf Lines 240 to 245 in 926af35
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity since being marked as stale. |
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
I tried to add security groups to the workers in our cluster by setting worker_additional_security_group_ids. This resulted in a change in launch configuration but the existing worker was not replaced, so the new security groups weren't picked up. After killing that node off and letting the ASG sort itself out the new node got the correct security groups.
Versions
Reproduction
Steps to reproduce the behavior:
I am using workspaces on TF Cloud
Expected behavior
When changing worker_additional_security_group_ids the existing workers are updated or replaced (respecting ASG rules) so they have the correct security groups.
Actual behavior
Additional security groups are not seen until nodes are forcibly to be replaced.
The text was updated successfully, but these errors were encountered: