Cloudformation currently supports only KubernetesNetworkConfig.ServiceIpv6Cidr using GetAtt Intrinsic Function per this document. Support for KubernetesNetworkConfig.ServiceIpv4Cidr is missing.
Request:
add KubernetesNetworkConfig.ServiceIpv4Cidr support to retrieve selected ServiceIpv4Cidr
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.
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 forKubernetesNetworkConfig.ServiceIpv4Cidr
is missing.Request:
KubernetesNetworkConfig.ServiceIpv4Cidr
support to retrieve selected ServiceIpv4CidrOther 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.