alicloud_ecs_launch_templates

This data source provides the Ecs Launch Templates of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ecs_launch_templates" "example" {
  ids        = ["lt-bp1a469uxxxxxx"]
  name_regex = "your_launch_name"
}

output "first_ecs_launch_template_id" {
  value = data.alicloud_ecs_launch_templates.example.templates.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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