文档

alicloud_ecd_custom_property

更新时间:
一键部署

Provides a ECD Custom Property resource.

For information about ECD Custom Property and how to use it, see What is Custom Property.

-> NOTE: Available since v1.176.0.

-> NOTE: Up to 10 different attributes can be created under an alibaba cloud account. Up to 50 different attribute values can be added under an attribute.

Example Usage

Basic Usage

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

resource "alicloud_ecd_custom_property" "example" {
  property_key = "example_key"
  property_values {
    property_value = "example_value"
  }
}

Argument Reference

The following arguments are supported:

  • property_key - (Required) The Custom attribute key.
  • property_values - (Optional) Custom attribute sets the value of. See property_values below.

property_values

The property_values supports the following:

  • property_value - (Optional) The value of an attribute.
  • property_value_id - (Computed) The value of an attribute id.

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Custom Property.

Timeouts

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

  • create - (Defaults to 1 mins) Used when create the Custom Property.
  • delete - (Defaults to 1 mins) Used when delete the Custom Property.
  • update - (Defaults to 1 mins) Used when update the Custom Property.

Import

ECD Custom Property can be imported using the id, e.g.

$ terraform import alicloud_ecd_custom_property.example <id>

  • 本页导读 (0)
文档反馈