This template retrieves an IPAM pool using filters and creates a VPC with a CIDR block derived from the retrieved IPAM pool.

Terraform Template