Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonebruzzechesse committed May 17, 2024
1 parent 5a9360c commit 203d5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/alloydb/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ output "names" {

output "secondary_id" {
description = "Fully qualified primary instance id."
value = var.cross_region_replication.enabled ? google_alloydb_instance.secondary.id : null
value = var.cross_region_replication.enabled ? google_alloydb_instance.secondary[0].id : null
}

output "secondary_ip" {
description = "IP address of the primary instance."
value = var.cross_region_replication.enabled ? google_alloydb_instance.secondary.ip_address : null
value = var.cross_region_replication.enabled ? google_alloydb_instance.secondary[0].ip_address : null
}

output "user_passwords" {
Expand Down

0 comments on commit 203d5a1

Please sign in to comment.