VOOZH about

URL: https://repost.aws/questions/QUGLd8CkoiQ9usXAwoZCiqMg/how-can-i-update-the-eks-default-security-group-with-my-custom-change-using-terraform

⇱ How can i update the EKS default security group with my custom change using terraform | AWS re:Post


Skip to content

How can i update the EKS default security group with my custom change using terraform

0

Dear Team,

Kindly help us to update the EKS default security group with custom sg rules using terraform, When we tried to do the same sg as rules are getting update automatically with default rule.

Thanks.

1 Answer
  • Newest
  • Most votes
  • Most comments
Are these answers helpful? Upvote the correct answer to help the community benefit from your knowledge.
0

Check out this documentation to learn more about the default security group rules in EKS

https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html

From the docs:

If you need to limit the open ports between the cluster and nodes, you can remove the default outbound rule and add the following minimum rules that are required for the cluster. If you remove the default inbound rule, Amazon EKS recreates it whenever the cluster is updated.

answered 2 years ago