alicloud_direct_mail_domain

Provides a Direct Mail Domain resource.

For information about Direct Mail Domain and how to use it, see What is Domain.

Example Usage

Basic Usage

resource "random_integer" "default" {
  min = 10000
  max = 99999
}
provider "alicloud" {
  region = "cn-hangzhou"
}
resource "alicloud_direct_mail_domain" "example" {
  domain_name = "alicloud-provider-${random_integer.default.result}.online"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

Direct Mail Domain can be imported using the id, e.g.

$ terraform import alicloud_direct_mail_domain.example <id>