Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict the number of health_checks in Backend Service resources to exactly 1. #145

Merged
merged 3 commits into from
Jun 21, 2017

Conversation

rileykarson
Copy link
Collaborator

Fix for #144.

Affects google_compute_backend_service and google_compute_region_backend_service.

  • Update documentation to specify that exactly 1 health check is required.
  • Perform a plan-time validation that there is exactly 1 element in the health check list.

Copy link
Contributor

@stack72 stack72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @rileykarson

This LGTM - could of minor nits in there that you may want to change later :)

Set: schema.HashString,
Required: true,
MinItems: 1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have a required: true then you won't need MinItems: 1 :)

Set: schema.HashString,
Required: true,
MinItems: 1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed :)

@stack72 stack72 merged commit 576d52b into hashicorp:master Jun 21, 2017
pdecat pushed a commit to pdecat/terraform-provider-google that referenced this pull request Jun 29, 2017
…ount

Restrict the number of health_checks in Backend Service resources to exactly 1.
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this pull request May 21, 2019
Support cloud sql private ip (incorporating previous PR feedback)
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this pull request May 21, 2019
Support cloud sql private ip (incorporating previous PR feedback)
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants