alicloud_mse_znodes

This data source provides the Mse Znodes of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_mse_znodes" "ids" {
  cluster_id = "example_value"
  path       = "/"
  ids        = ["example_value-1", "example_value-2"]
}
output "mse_znode_id_1" {
  value = data.alicloud_mse_znodes.ids.znodes.0.id
}

data "alicloud_mse_znodes" "nameRegex" {
  path       = "/"
  cluster_id = "example_value"
  name_regex = "^my-Znode"
}
output "mse_znode_id_2" {
  value = data.alicloud_mse_znodes.nameRegex.znodes.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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