alicloud_direct_mail_tag

更新时间:

Provides a Direct Mail Tag resource.

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

-> NOTE: Available since v1.144.0.

Example Usage

Basic Usage


variable "name" {
  default = "example"
}
provider "alicloud" {
  region = "cn-hangzhou"
}
resource "alicloud_direct_mail_tag" "example" {
  tag_name = var.name
}

Argument Reference

The following arguments are supported:

  • tag_name - (Required) The name of the tag. The name must be 1 to 50 characters in length, and can contain letters and digits.

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Tag.

Import

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

$ terraform import alicloud_direct_mail_tag.example <id>