cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

New attributes for AWS::EC2::Subnet to support subnet CIDR IPAM automation

Open ronend opened this issue 2 years ago • 2 comments

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)

  1. add new attribute to resource AWS::EC2::IPAMPool according to api call CreateIpamPool.
  2. add new resource according to data type IpamPoolSourceResourceRequest

Other Details

No response

ronend avatar Nov 21 '23 20:11 ronend

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.

adi8 avatar Jan 05 '24 20:01 adi8

The IPAM pool update is now public: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ipampool.html#cfn-ec2-ipampool-sourceresource

jonahweissman avatar Jan 12 '24 19:01 jonahweissman