stajkowski / terraform-aws-networking

AWS Networking Module for Terraform
Apache License 2.0
0 stars 0 forks source link

Utilize Existing IPAM Scope if Exists #2

Closed stajkowski closed 7 months ago

stajkowski commented 8 months ago

AWS limits 1 scope per region and it's possible the account already has a scope configured. In the IPAM sub module we should detect if a scope already exists and use it to create a new parent pool for the collection of VPCs.

stajkowski commented 8 months ago

Additional work is to add tests to cover this in IPAM since there are no tests today.

stajkowski commented 8 months ago

Just allow configuration of IPAM regional scope instead of auto-creation. Doing it dynamically creates problems with creation/update in Terraform.