fix deprecated waring, switched to local_Sensitive_file for kubeconfig

This commit is contained in:
jonny
2022-03-11 12:19:57 +01:00
parent 751f980a95
commit 67faa16ab7
2 changed files with 3 additions and 3 deletions

View File

@@ -23,8 +23,8 @@ locals {
}
}
resource "local_file" "kubeconfig" {
sensitive_content = local.kubeconfig_external
resource "local_sensitive_file" "kubeconfig" {
content = local.kubeconfig_external
filename = "kubeconfig.yaml"
file_permission = "600"
}