Resource: aws_vpc_ipam_scope

Creates a scope for AWS IPAM.

Example Usage

Basic usage:

data "aws_region" "current" {}

resource "aws_vpc_ipam" "example" {
  operating_regions {
    region_name = data.aws_region.current.name
  }
}

resource "aws_vpc_ipam_scope" "example" {
  ipam_id     = aws_vpc_ipam.example.id
  description = "Another Scope"
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import IPAMs using the scope_id. For example:

import {
  to = aws_vpc_ipam_scope.example
  id = "ipam-scope-0513c69f283d11dfb"
}

Using terraform import, import IPAMs using the scope_id. For example:

% terraform import aws_vpc_ipam_scope.example ipam-scope-0513c69f283d11dfb