alicloud_quotas_template_service
更新时间:
Provides a Quotas Template Service resource.
Quota Template Service.
For information about Quotas Template Service and how to use it, see What is Template Service.
-> NOTE: Available since v1.230.0.
Example Usage
Basic Usage
variable "name" {
default = "terraform-example"
}
provider "alicloud" {
region = "cn-hangzhou"
}
resource "alicloud_quotas_template_service" "default" {
service_status = "1"
}
Deleting alicloud_quotas_template_service
or removing it from your configuration
Terraform cannot destroy resource alicloud_quotas_template_service
. Terraform will remove this resource from the state file, however resources may remain.
Argument Reference
The following arguments are supported:
service_status
- (Required, Int) Status of the quota template. Valid values:-1
: disabled.1
: enabled.
Attributes Reference
The following attributes are exported:
id
- The ID of the resource supplied above.The value is formulated as ``.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 5 mins) Used when create the Template Service.update
- (Defaults to 5 mins) Used when update the Template Service.
Import
Quotas Template Service can be imported using the id, e.g.
$ terraform import alicloud_quotas_template_service.example
文档内容是否对您有帮助?