alicloud_quotas_template_applications

Provides a Quotas Template Applications resource. Template Batch Application.

For information about Quotas Template Applications and how to use it, see What is Template Applications.

Example Usage

Basic Usage

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

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

resource "random_integer" "default" {
  min = 10000
  max = 99999
}

resource "alicloud_resource_manager_account" "account" {
  display_name = "${var.name}-${random_integer.default.result}"
}

resource "alicloud_quotas_template_applications" "default" {
  env_language      = "zh"
  notice_type       = "0"
  quota_category    = "WhiteListLabel"
  desire_value      = "1"
  reason            = "example"
  quota_action_code = "quotas.label_multi/A"
  effective_time    = "2023-12-03T16:00:00Z"
  aliyun_uids = [
    "${alicloud_resource_manager_account.account.id}"
  ]
  product_code = "quotas"
  expire_time  = "2023-12-26T16:00:00Z"
}

Deleting alicloud_quotas_template_applications or removing it from your configuration

Terraform cannot destroy resource alicloud_quotas_template_applications. Terraform will remove this resource from the state file, however resources may remain.

Argument Reference

The following arguments are supported:

dimensions

The dimensions supports the following:

Attributes Reference

The following attributes are exported:

Timeouts

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

Import

Quotas Template Applications can be imported using the id, e.g.

$ terraform import alicloud_quotas_template_applications.example <id>