aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 54 forks source link

[AWS::EKS::Cluster] - add GetAtt for KubernetesNetworkConfig.ServiceIpv4Cidr #2022

Open mengmann opened 5 months ago

mengmann commented 5 months ago

Name of the resource

AWS::EKS::Cluster

Resource name

No response

Description

Cloudformation currently supports only KubernetesNetworkConfig.ServiceIpv6Cidr using GetAtt Intrinsic Function per this document. Support for KubernetesNetworkConfig.ServiceIpv4Cidr is missing.

Request:

Other Details

Why this is needed: For those EKS Clusters where ServiceIpv4Cidr is not explicitly defined, Kubernetes will automatically assigns a suitable CIDR block. However, this CIDR block is now needed for new AmazonLinux2023 self-managed node groups. For automation purposes where cluster and nodegroups are defined and deployed in a single pass (like: cdk synth/deploy) we need this (unknown in advance) CIDR block information to be available between resources and stacks.