Files
floci/docs
Simone Primarosa 51467dbc23 fix(eks): populate clusterSecurityGroupId on cluster responses (#3924)
* fix(eks): populate clusterSecurityGroupId on cluster responses

Real AWS EKS automatically provisions a cluster security group and
returns its identifier in resourcesVpcConfig.clusterSecurityGroupId
on CreateCluster and DescribeCluster responses.

- Create a security group in Ec2Service with the pattern
  eks-cluster-sg-<cluster-name>-<suffix> using 8 hex characters.
- Set standard AWS description and tags (Name, kubernetes.io/cluster/<cluster-name>,
  and aws:eks:cluster-name).
- Set clusterSecurityGroupId to empty string when cluster has no VPC.
- Delete the cluster security group on DeleteCluster, tolerating
  InvalidGroup.NotFound for idempotency.
- Backfill cluster security groups for pre-existing clusters on startup.

* fix(eks): address cluster security group review feedback

* fix(eks): add self-referencing egress rule and cleanup on SG setup failure
2026-09-20 08:52:40 -04:00
..
2026-03-15 17:43:56 -05:00