Files
linode/output.tf

26 lines
484 B
HCL

resource "local_file" "kubeconfig" {
filename = "config"
content = base64decode(linode_lke_cluster.foobar.kubeconfig)
}
output "kubeconfig" {
value = linode_lke_cluster.foobar.kubeconfig
sensitive = true
}
output "api_endpoints" {
value = linode_lke_cluster.foobar.api_endpoints
}
output "status" {
value = linode_lke_cluster.foobar.status
}
output "id" {
value = linode_lke_cluster.foobar.id
}
output "pool" {
value = linode_lke_cluster.foobar.pool
}