» alicloud_ess_scaling_configurations

This data source provides available scaling configuration resources.

» Example Usage

data "alicloud_ess_scaling_configurations" "scalingconfigurations_ds" {
  scaling_group_id = "scaling_group_id"
  ids              = ["scaling_configuration_id1", "scaling_configuration_id2"]
  name_regex       = "scaling_configuration_name"

output "first_scaling_rule" {
  value = "${data.alicloud_ess_scaling_configurations.scalingconfigurations_ds.configurations.0.id}"

» Argument Reference

The following arguments are supported:

  • scaling_group_id - (Optional) Scaling group id the scaling configurations belong to.
  • name_regex - (Optional) A regex string to filter resulting scaling configurations by name.
  • ids - (Optional) A list of scaling configuration IDs.
  • output_file - (Optional) File name where to save data source results (after running terraform plan).

» Attributes Reference

The following attributes are exported in addition to the arguments listed above: