-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 Groups are incorrectly configured #1616
Comments
By default if no security group is assigned it throws it into: eks-cluster-sg-${clustername}-${id} which is configured to only allow traffic to nodes within that security group. If you use provide create_launch_template=true it puts that node_group into the sg: ${clustername} which does not allow all traffic to the sg: eks-cluster-sg-${clustername}-${id} and vice versa I could be explaining this poorly, so just let me know if you need additional details. |
This issue has been automatically marked as stale because it has been open 30 days |
@jdziat, I had the same issue a few days ago and fixed it by setting this one to true worker_create_cluster_primary_security_group_rules |
@thiagoalmeidasa Yea that's a good catch, we started using this module prior to that being an option. So it didn't jump out right away. I think that should be enabled by default though. |
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
This issue has been resolved in version 18.0.0 🎉 |
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
If you use node_groups without a launch_template and if you do not have create_launch template set the module will use default settings. This causes an issue when you create additional node_groups that do use launch templates or have create_launch_template configured. The top level security group does not allow all traffic between itself and the managed_node_group security group.
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
Reproduction
Steps to reproduce the behavior:
Code Snippet to Reproduce
Expected behavior
That if no launch_template is specified and if create_launch_template is false that it places it in the appropriate group or errors out.
Actual behavior
Successfully creates the node_group but it will randomly fail when trying to communicate with node_group two. Also node_group two will not be able to communicate with node_group one.
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: