Update terraform.tf
This commit is contained in:
@@ -37,6 +37,7 @@ resource "linode_lke_cluster" "foobar" {
|
|||||||
output "kubeconfig" {
|
output "kubeconfig" {
|
||||||
value = linode_lke_cluster.foobar.kubeconfig
|
value = linode_lke_cluster.foobar.kubeconfig
|
||||||
sensitive = true
|
sensitive = true
|
||||||
|
filename = kubeconfig.yaml
|
||||||
}
|
}
|
||||||
|
|
||||||
output "api_endpoints" {
|
output "api_endpoints" {
|
||||||
@@ -57,7 +58,7 @@ output "pool" {
|
|||||||
|
|
||||||
|
|
||||||
provider "kubectl" {
|
provider "kubectl" {
|
||||||
config_path = kubeconfig
|
config_path = "./kubeconfig.yaml"
|
||||||
load_config_file = true
|
load_config_file = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user