» openstack_containerinfra_cluster_v1

Use this data source to get the ID of an available OpenStack Magnum cluster.

» Example Usage

data "openstack_containerinfra_cluster_v1" "cluster_1" {
  name = "cluster_1"
}

» Argument Reference

The following arguments are supported:

  • region - (Optional) The region in which to obtain the V1 Container Infra client. If omitted, the region argument of the provider is used.

  • name - (Required) The name of the cluster.

» Attributes Reference

id is set to the ID of the found cluster. In addition, the following attributes are exported: