ClientVpnEndpoint: Integration with IPAM for CIDR selection #22889
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
feature-request
A feature should be added or improved.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p2
Describe the feature
I would like to request the ability to use IPAM for generating a CIDR for a
ClientVpnEndpoint
. This would be similar to how VPC has integrated with IPAM and can just pick a netmask length and you don't have to create an allocation separatelyUse Case
Our team is utilizing AWS IPAM fully and want to automate all CIDR generation. We want to include our VPN client address space in IPAM and ideally its automatically provisioned by just setting a netmask length.
Proposed Solution
Recently VPC with IPAM integration Issue was merged allowing VPC creation to set an IPAM poolID and masks to auto allocate unused range to a VPC as seen below.
I would like the ability to do the same for ClientVpnEndpoint, instead of passing in a cidr(that my team has to lookup/calculate manually). So the proposed solution would almost be a duplicate of the VPC implementation where I give it a pool ID and a mask and say just give me a range that isn't allocated
Other Information
I have tried creating an IPAM allocation and setting the cidr on the ClientEndPoint with that object but it fails because the cidr is empty.
Acknowledgements
CDK version used
2.48.0
Environment details (OS name and version, etc.)
macOS 12.5.1
The text was updated successfully, but these errors were encountered: