alicloud_ecs_deployment_sets

This data source provides the Ecs Deployment Sets of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ecs_deployment_sets" "ids" {
  ids = ["example_id"]
}
output "ecs_deployment_set_id_1" {
  value = data.alicloud_ecs_deployment_sets.ids.sets.0.id
}

data "alicloud_ecs_deployment_sets" "nameRegex" {
  name_regex = "^my-DeploymentSet"
}
output "ecs_deployment_set_id_2" {
  value = data.alicloud_ecs_deployment_sets.nameRegex.sets.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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