Open drewmullen opened 7 months ago
Voting for Prioritization
Volunteering to Work on This Issue
To confirm design I need to try this out with CLI commands. The docs arent updated yet because #reinvent
API documentation now available: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSubnet.html Kindly implement the following attributes in terraform:
Description
AWS Announced VPC Subnets can get their CIDR from AWS IPAM IP Reservations. I'm not 100% what the implementation will look like but will update this issue as the service features become available publicly.
Based on the blog I believe the following changes need to be made
aws_vpc_ipam_pool
needs to be able to set resource planning to a vpcaws_subnet
needs to specify the cidr block is from an ipam pool id, ip netmaskThese values are
Ipv4IpamPoolId
,Ipv4NetmaskLength
,Ipv6IpamPoolId
,Ipv6NetmaskLength
SourceResource
which is a new nested type: https://github.com/aws/aws-sdk-go-v2/blob/main/service/ec2/types/types.go#L7919Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration