alicloud_ecs_commands

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

Example Usage

Basic Usage

data "alicloud_ecs_commands" "example" {
  ids        = ["E2RY53-xxxx"]
  name_regex = "tf-testAcc"
}

output "first_ecs_command_id" {
  value = data.alicloud_ecs_commands.example.commands.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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