Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaf7f20c

Browse files
feat: Remove condition from data.google_compute_zones.available (terraform-google-modules#684)
Co-authored-by: Imran Nayer <imrannayer@google.com>
1 parentdee4d74 commitaf7f20c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎modules/postgresql/read_replica.tf‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ locals {
1919
forxinvar.read_replicas:"${var.name}-replica${var.read_replica_name_suffix}${x.name}"=>x
2020
}
2121
// Zone for replica instances
22-
zone=var.zone==null? data.google_compute_zones.available[0].names[0]: var.zone
22+
zone=var.zone==null? data.google_compute_zones.available.names[0]: var.zone
2323
}
2424

2525
data"google_compute_zones""available" {
26-
count=var.zone==null?1:0
2726
project=var.project_id
2827
region=var.region
2928
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp