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

provider/google: Error updating google_compute_health_check type #92

Closed
hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #944
Closed

provider/google: Error updating google_compute_health_check type #92

hashibot opened this issue Jun 13, 2017 · 1 comment · Fixed by #944
Labels
bug forward/review In review; remove label to forward service/compute-health

Comments

@hashibot
Copy link

This issue was originally opened by @rileykarson as hashicorp/terraform#14675. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.9.6-dev

Affected Resource(s)

  • google_compute_health_check

Terraform Configuration Files

Original:

resource "google_compute_health_check" "foobar" {
	check_interval_sec = 3
	description = "Resource created for Terraform acceptance testing"
	healthy_threshold = 3
	name = "tf-health-test"
	timeout_sec = 2
	unhealthy_threshold = 3
	http_health_check {
	}
}

Modified:

resource "google_compute_health_check" "foobar" {
	check_interval_sec = 3
	description = "Resource created for Terraform acceptance testing"
	healthy_threshold = 3
	name = "tf-health-test"
	timeout_sec = 2
	unhealthy_threshold = 3
	https_health_check {
	}
}

Expected Behavior

After the resource was created and the .tf file updated, the resource's type and default values should have been updated to reflect the .tf file.

Actual Behavior

Error applying plan:

1 error(s) occurred:

* google_compute_health_check.foobar: 1 error(s) occurred:

* google_compute_health_check.foobar: Error patching HealthCheck: googleapi: Error 400: Invalid value for field 'resource.httpHealthCheck': ''. HTTP healthCheck specified for protocol HTTPS., invalid

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply
  2. Modify the .tf file
  3. terraform apply
@hashibot hashibot added the bug label Jun 13, 2017
@rosbo rosbo self-assigned this Jan 10, 2018
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this issue May 21, 2019
@ghost
Copy link

ghost commented Mar 30, 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 unassigned rosbo Mar 30, 2020
@ghost ghost locked and limited conversation to collaborators Mar 30, 2020
@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-health labels Jan 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug forward/review In review; remove label to forward service/compute-health
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants