Creates a basic IPAM pool for IPv4 addresses in the current AWS region.

Terraform Template

data "aws_region" "current" {
}

resource "aws_vpc_ipam" "example" {

  operating_regions {
    region_name = data.aws_region.current.name
  }
}

resource "aws_vpc_ipam_pool" "example" {
  address_family = "ipv4"
  ipam_scope_id = aws_vpc_ipam.example.private_default_scope_id
  locale = data.aws_region.current.name
}