You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"google_compute_health_check""foobar" {
check_interval_sec=3description="Resource created for Terraform acceptance testing"healthy_threshold=3name="tf-health-test"timeout_sec=2unhealthy_threshold=3http_health_check {
}
}
Modified:
resource"google_compute_health_check""foobar" {
check_interval_sec=3description="Resource created for Terraform acceptance testing"healthy_threshold=3name="tf-health-test"timeout_sec=2unhealthy_threshold=3https_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:
terraform apply
Modify the .tf file
terraform apply
The text was updated successfully, but these errors were encountered:
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!
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)
Terraform Configuration Files
Original:
Modified:
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:
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
terraform apply
The text was updated successfully, but these errors were encountered: