Add sqladmin to project jit_si and fix some documentation
This commit is contained in:
committed by
Lorenzo Caggioni
parent
a3f03ac213
commit
952e18d0f1
@@ -107,7 +107,7 @@ resource "google_sql_database_instance" "primary" {
|
||||
|
||||
resource "google_sql_database_instance" "replicas" {
|
||||
provider = google-beta
|
||||
for_each = length(var.replicas) > 0 ? var.replicas : {}
|
||||
for_each = local.has_replicas ? var.replicas : {}
|
||||
project = var.project_id
|
||||
name = "${local.prefix}${each.key}"
|
||||
region = each.value.region
|
||||
|
||||
Reference in New Issue
Block a user