alicloud_ecs_auto_snapshot_policies

This data source provides the Ecs Auto Snapshot Policies of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ecs_auto_snapshot_policies" "example" {
  ids        = ["sp-bp14e66xxxxxxxx"]
  name_regex = "tf-testAcc"
}

output "first_ecs_auto_snapshot_policy_id" {
  value = data.alicloud_ecs_auto_snapshot_policies.example.policies.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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