mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-08 21:21:34 +03:00
++ fix random password dependency
This commit is contained in:
parent
be5133a954
commit
38ad66d383
@ -343,8 +343,6 @@ resource "kubernetes_secret" "with_ignore" {
|
|||||||
# Игнорируем data, type и metadata чтобы не было phantom updates
|
# Игнорируем data, type и metadata чтобы не было phantom updates
|
||||||
ignore_changes = [data, type, metadata, wait_for_service_account_token]
|
ignore_changes = [data, type, metadata, wait_for_service_account_token]
|
||||||
}
|
}
|
||||||
|
|
||||||
depends_on = [random_password.secrets]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "kubernetes_secret" "without_ignore" {
|
resource "kubernetes_secret" "without_ignore" {
|
||||||
@ -365,8 +363,6 @@ resource "kubernetes_secret" "without_ignore" {
|
|||||||
# type и metadata игнорируем чтобы не было phantom updates
|
# type и metadata игнорируем чтобы не было phantom updates
|
||||||
ignore_changes = [type, metadata, wait_for_service_account_token]
|
ignore_changes = [type, metadata, wait_for_service_account_token]
|
||||||
}
|
}
|
||||||
|
|
||||||
depends_on = [random_password.secrets]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Vault-sink: same resolved (plaintext) data map, written to Vault KV v2 instead
|
# Vault-sink: same resolved (plaintext) data map, written to Vault KV v2 instead
|
||||||
@ -377,6 +373,4 @@ resource "vault_kv_secret_v2" "this" {
|
|||||||
mount = var.vault_kv_mount
|
mount = var.vault_kv_mount
|
||||||
name = each.value.vault_path
|
name = each.value.vault_path
|
||||||
data_json = jsonencode(each.value.data)
|
data_json = jsonencode(each.value.data)
|
||||||
|
|
||||||
depends_on = [random_password.secrets]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user