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

feat: Remove condition from data.google_compute_zones.available#684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@lukasz-mitka
Copy link
Contributor

Condition causes an issue whenvar.zone is computed in the host Terraform code.

  │ Error: Invalid count argument  │   │   on .terraform/modules/pg/modules/postgresql/read_replica.tf line 26, in data "google_compute_zones" "available":  │   26:   count   = var.zone == null ? 1 : 0  │   │ The "count" value depends on resource attributes that cannot be determined  │ until apply, so Terraform cannot predict how many instances will be  │ created. To work around this, use the -target argument to first apply only  │ the resources that the count depends on.

qveensi reacted with thumbs up emoji
Condition causes an issue when `var.zone` is computed in the host Terraform code.```  │ Error: Invalid count argument  │   │   on .terraform/modules/pg/modules/postgresql/read_replica.tf line 26, in data "google_compute_zones" "available":  │   26:   count   = var.zone == null ? 1 : 0  │   │ The "count" value depends on resource attributes that cannot be determined  │ until apply, so Terraform cannot predict how many instances will be  │ created. To work around this, use the -target argument to first apply only  │ the resources that the count depends on.```
@google-cla
Copy link

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View thisfailed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@lukasz-mitkalukasz-mitka changed the titleRemove condition from data.google_compute_zones.availablefeat: Remove condition from data.google_compute_zones.availableDec 20, 2024
@imrannayer
Copy link
Collaborator

gcbrun

@imrannayer
Copy link
Collaborator

/gcbrun

@imrannayer
Copy link
Collaborator

/gcbrun

@imrannayer
Copy link
Collaborator

/gcbrun

@imrannayer
Copy link
Collaborator

/gcbrun

@imrannayerimrannayer merged commitaf7f20c intoterraform-google-modules:mainApr 29, 2025
4 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@imrannayerimrannayerimrannayer approved these changes

@isaurabhuttamisaurabhuttamAwaiting requested review from isaurabhuttam

@q2wq2wAwaiting requested review from q2wq2w is a code owner

@ayushmjainayushmjainAwaiting requested review from ayushmjainayushmjain is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@lukasz-mitka@imrannayer

[8]ページ先頭

©2009-2025 Movatter.jp