Resource: aws_sesv2_dedicated_ip_assignment

Terraform resource for managing an AWS SESv2 (Simple Email V2) Dedicated IP Assignment.

This resource is used with "Standard" dedicated IP addresses. This includes addresses requested and relinquished manually via an AWS support case, or Bring Your Own IP addresses. Once no longer assigned, this resource returns the IP to the ses-default-dedicated-pool, managed by AWS.

Example Usage

Basic Usage

resource "aws_sesv2_dedicated_ip_assignment" "example" {
  ip                    = "0.0.0.0"
  destination_pool_name = "my-pool"
}

Argument Reference

The following arguments are required:

Attribute Reference

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

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import SESv2 (Simple Email V2) Dedicated IP Assignment using the id, which is a comma-separated string made up of ip and destination_pool_name. For example:

import {
  to = aws_sesv2_dedicated_ip_assignment.example
  id = "0.0.0.0,my-pool"
}

Using terraform import, import SESv2 (Simple Email V2) Dedicated IP Assignment using the id, which is a comma-separated string made up of ip and destination_pool_name. For example:

% terraform import aws_sesv2_dedicated_ip_assignment.example "0.0.0.0,my-pool"