alicloud_cs_managed_kubernetes_clusters

This data source provides a list Container Service Managed Kubernetes Clusters on Alibaba Cloud.

Example Usage

# Declare the data source
data "alicloud_cs_managed_kubernetes_clusters" "k8s_clusters" {
  name_regex              = "my-first-k8s"
  output_file             = "my-first-k8s-json"
  kube_config_file_prefix = "~/.kube/managed"
}

output "output" {
  value = "${data.alicloud_cs_managed_kubernetes_clusters.k8s_clusters.clusters}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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

Block Nodes

Block Connections