Update output.tf, terraform.tf
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
resource "local_file" "kubeconfig" {
|
||||
depends_on = [linode_lke_cluster.foobar]
|
||||
filename = "kube-config"
|
||||
filename = "config"
|
||||
content = base64decode(linode_lke_cluster.foobar.kubeconfig)
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ resource "linode_lke_cluster" "foobar" {
|
||||
}
|
||||
|
||||
provider "kubectl" {
|
||||
config_path = "./kube-config"
|
||||
config_path = "./"
|
||||
load_config_file = true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user