alicloud_ehpc_clusters

This data source provides the Ehpc Clusters of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_ehpc_clusters" "ids" {
  ids = ["example_id"]
}
output "ehpc_cluster_id_1" {
  value = data.alicloud_ehpc_clusters.ids.clusters.0.id
}

data "alicloud_ehpc_clusters" "nameRegex" {
  name_regex = "^my-Cluster"
}
output "ehpc_cluster_id_2" {
  value = data.alicloud_ehpc_clusters.nameRegex.clusters.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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