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.
resource "aws_sesv2_dedicated_ip_assignment" "example" {
ip = "0.0.0.0"
destination_pool_name = "my-pool"
}
The following arguments are required:
ip
- (Required) Dedicated IP address.destination_pool_name
- (Required) Dedicated IP address.This resource exports the following attributes in addition to the arguments above:
id
- A comma-separated string made up of ip
and destination_pool_name
.create
- (Default 30m
)delete
- (Default 30m
)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"