We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a1e64 commit 3cb3eeeCopy full SHA for 3cb3eee
modules/postgresql/read_replica.tf
@@ -63,10 +63,10 @@ resource "google_sql_database_instance" "replicas" {
63
}
64
65
dynamic "psc_config" {
66
- for_each = ip_configuration.value.psc_enabled ? ["psc_enabled"] : ["psc_disabled"]
+ for_each = ip_configuration.value.psc_enabled ? ["psc_enabled"] : []
67
content {
68
psc_enabled = ip_configuration.value.psc_enabled
69
- allowed_consumer_projects = ip_configuration.value.psc_enabled ? ip_configuration.value.psc_allowed_consumer_projects : []
+ allowed_consumer_projects = ip_configuration.value.psc_allowed_consumer_projects
70
71
72
0 commit comments