This commit is contained in:
2023-10-29 17:03:22 +01:00
parent 057a410f52
commit 1a023a18e5
25 changed files with 778 additions and 766 deletions

View File

@@ -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}"