fix
This commit is contained in:
@@ -34,7 +34,7 @@ resource "null_resource" "get_known" {
|
||||
data "local_file" "known_host" {
|
||||
count = local.needUser?1:0
|
||||
filename = "${path.module}/known_host.txt"
|
||||
depends_on = ["null_resource.get_known"]
|
||||
depends_on = [null_resource.get_known]
|
||||
}
|
||||
|
||||
resource "kubectl_manifest" "ssh-creds" {
|
||||
@@ -48,7 +48,7 @@ resource "kubectl_manifest" "ssh-creds" {
|
||||
namespace: "${local.sorted-stages[count.index].namespace}"
|
||||
labels: ${jsonencode(local.common-labels)}
|
||||
spec:
|
||||
length: "40"
|
||||
length: "2048"
|
||||
forceRegenerate: false
|
||||
data:
|
||||
known_hosts: "${data.local_file.known_host[0].content}"
|
||||
|
||||
Reference in New Issue
Block a user