Update terraform.tf
This commit is contained in:
@@ -33,9 +33,10 @@ resource "linode_lke_cluster" "foobar" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "local_file" "kubeconfig" {
|
resource "null_resource" "copy-inventory" {
|
||||||
filename = "config"
|
provisioner "local-exec" {
|
||||||
content = base64decode(linode_lke_cluster.foobar.kubeconfig)
|
command = "echo ${linode_lke_cluster.foobar.kubeconfig} | base64 -d >> config"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "kubernetes" {
|
provider "kubernetes" {
|
||||||
|
|||||||
Reference in New Issue
Block a user