fix initial user on secondary cluster issue (#2687)

Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
simonebruzzechesse
2024-11-14 22:20:37 +01:00
committed by GitHub
parent 27ee179792
commit 52e03ec9e7

View File

@@ -302,14 +302,6 @@ resource "google_alloydb_cluster" "secondary" {
}
}
dynamic "initial_user" {
for_each = var.initial_user != null ? [""] : []
content {
user = var.initial_user.user
password = var.initial_user.password
}
}
dynamic "maintenance_update_policy" {
for_each = var.maintenance_config.enabled ? [""] : []
content {