fix deprecated waring, switched to local_Sensitive_file for kubeconfig
This commit is contained in:
parent
ac1b0b93a8
commit
4167f6124b
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user