Update terraform.tf, output.tf

This commit is contained in:
2022-09-25 01:24:02 +00:00
parent 00bbbf9a06
commit 8c592432a5
2 changed files with 7 additions and 26 deletions

View File

@@ -33,33 +33,9 @@ resource "linode_lke_cluster" "foobar" {
}
}
//Export this cluster's attributes
output "kubeconfig" {
value = linode_lke_cluster.foobar.kubeconfig
sensitive = true
filename = kubeconfig.yaml
}
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
}
provider "kubectl" {
config_path = "./kubeconfig.yaml"
load_config_file = true
config_path = "kubeconfig"
load_config_file = true
}
data "kubectl_file_documents" "namespace" {