alicloud_dms_enterprise_authority_template

Provides a DMS Enterprise Authority Template resource.

For information about DMS Enterprise Authority Template and how to use it, see What is Authority Template.

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}

provider "alicloud" {
  region = "cn-hangzhou"
}

data "alicloud_dms_user_tenants" "default" {
  status = "ACTIVE"
}

resource "alicloud_dms_enterprise_authority_template" "default" {
  tid                     = "${data.alicloud_dms_user_tenants.default.ids.0}"
  authority_template_name = var.name
  description             = var.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

DMS Enterprise Authority Template can be imported using the id, e.g.

$ terraform import alicloud_dms_enterprise_authority_template.example <tid>:<authority_template_id>