Closed mejuhi closed 4 years ago
@mejuhi could you post the file crash.log
? It is specified in the section of TERRAFORM CRASH. Thanks
Wanted to know timeline for the updated code. Image tag to be referred and when can it be available for using it in the cloud build. @slevenick , @edwardmedia
Wanted to know timeline for the updated code. Image tag to be referred and when can it be available for using it in the cloud build. @slevenick , @edwardmedia
It should be available in the 3.33.0 release expected august 3rd
You can compile the provider yourself if a fix is needed prior to then. The fix is in master
Wanted to know timeline for the updated code. Image tag to be referred and when can it be available for using it in the cloud build. @slevenick , @edwardmedia
It should be available in the 3.33.0 release expected august 3rd
You can compile the provider yourself if a fix is needed prior to then. The fix is in master
Thankyou @slevenick for the quick response. It was extremely helpful. I am using terraform image from https://hub.docker.com/r/hashicorp/terraform/tags I will wait for the docker image to be updated with the fixed code. I hope fix will be available on docker image on the date suggested.
I'm having the same issue when deploying cloud endpoints. Terraform crash when terraform plan is ran in cloudbuild. Also, I would like to pass in vars to cloud endpoints from cloud run url's. I have tested this locally and works fine, just to clarify that it works in cloudbuild. I'm passing the cloud run url's in root module via outputs.tf then, as vars to cloud endpoints then, to swagger.yml (template_file). I don't if this would affect the build but would like to get it out there.
Another question, how do you access the crash.log files when running TerraForm in CloudBuild?
@Arconapalus To answer your first question, I think they have fixed the issue in master and as suggested by @slevenick we can expect a release on 3rd August. (Not sure when the docker image will be updated, I am waiting for that as well).
To answer the second part of the question, I did just cat on crash.log after terraform plan command. Hope this helps
Right on thanks!!
Yes that worked for me thank you
@Arconapalus I tried again, issue is fixed, you can use docker image and try it as well
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!
Terraform Version
hashicorp/terraform:0.12.24
Affected Resource(s)
Terraform Configuration Files
Debug Output
Expected Behavior
Create Google Cloud endpoint from the openapi swagger file given as input
Actual Behavior
"hashicorp/terraform:0.12.24" failed: step exited with non-zero status: 1
Steps to Reproduce
Run terraform plan/apply using Cloud build
Important Factoids
terraform apply
using my cloud shell (locally)terraform plan
andterraform apply
using cloud build