New attributes for AWS::EC2::Subnet to support subnet CIDR IPAM automation
Name of the resource
AWS::EC2::Subnet
Resource name
No response
Description
New attributes added to api call CreateSubnet to support the new capability Amazon VPC IP Address Manager now automates IP address assignments for VPC subnets. The new attributes are:
-
Ipv4IpamPoolId -
Ipv4NetmaskLength -
Ipv6IpamPoolId -
Ipv6NetmaskLength
It is required to add those to the AWS::EC2::Subnet resource.
In addition, to fully support this scenario, it is also required to: (See issue 1852)
- add new attribute to resource AWS::EC2::IPAMPool according to api call CreateIpamPool.
- add new resource according to data type IpamPoolSourceResourceRequest
Other Details
No response
We have published the new properties for AWS::EC2::Subnet and AWS::EC2::SubnetCidrBlock resource. Respective template reference has been updated as well - subnet, subnet-cidr-block. That said you will need to wait for an update on AWS::EC2::IPAMPool resource still to use this feature.
The IPAM pool update is now public: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-sourceresource