alicloud_snapshots

Use this data source to get a list of snapshot according to the specified filters in an Alibaba Cloud account.

For information about snapshot and how to use it, see Snapshot.

Example Usage

data "alicloud_snapshots" "snapshots" {
  ids        = ["s-123456890abcdef"]
  name_regex = "tf-testAcc-snapshot"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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