alicloud_cs_serverless_kubernetes_clusters

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

Example Usage

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

output "output" {
  value = "${data.alicloud_cs_serverless_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 Connections