This commit is contained in:
pierre.geeraert
2026-10-12 16:53:38 +01:00
parent e538226182
commit ec901f92df
4 changed files with 22 additions and 108 deletions
+5 -5
View File
@@ -100,7 +100,7 @@ resource "bitwarden-secrets_secret" "automatic_bitwarden_secret_db_username" {
project_id = "b5fc4c48-e951-442f-97ca-b3e800c143cd"
lifecycle {
ignore_changes = [
value,key
value, key
]
}
}
@@ -115,7 +115,7 @@ resource "bitwarden-secrets_secret" "automatic_bitwarden_secret_db_password" {
avoid_ambiguous = true
lifecycle {
ignore_changes = [
value,key
value, key
]
}
}
@@ -127,7 +127,7 @@ resource "bitwarden-secrets_secret" "automatic_bitwarden_secret_db_host" {
value = try(each.value.database.host, "${each.key}-db-svc.${coalesce(each.value.namespace, each.value.connected_namespace, each.key)}.svc")
lifecycle {
ignore_changes = [
value,key
value, key
]
}
}
@@ -139,7 +139,7 @@ resource "bitwarden-secrets_secret" "automatic_bitwarden_secret_db_port" {
value = try(each.value.database.port, 5432)
lifecycle {
ignore_changes = [
value,key
value, key
]
}
}
@@ -151,7 +151,7 @@ resource "bitwarden-secrets_secret" "automatic_bitwarden_secret_db_name" {
value = try(each.value.database.name, each.key)
lifecycle {
ignore_changes = [
value,key
value, key
]
}
}