Configures an IPAM resource to operate across multiple specified regions using dynamic blocks.

Terraform Template

variable "ipam_regions" {
  default = "us-east-1,us-west-2"
  type = "${list}"
}

data "aws_region" "current" {
}

resource "aws_vpc_ipam" "main" {
  description = "multi region ipam"
}