-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Terraform 0.13.5 crash when creating GCS bucket #7690
Terraform 0.13.5 crash when creating GCS bucket #7690
Comments
Ok. After troubleshooting the GCS module that i used, turns out the However, TF should produce a more reasonable error message than the crash.log that it produced. Is it something that can be addressed? |
Added the fix for crash/panic situation, however its advised not to use the empty (cors) block in the config, as API may not return any data for that object in the response. In that case TF stores nothing on your state file for the |
Hey @venkykuberan . Yes you are right. It was certainly a bug from our side. We shouldn't have added empty cors block to begin with. However, the error experience made it difficult for us to find out our mistake. Thanks for arranging the fix :) |
BTW, is there any PR or merge that you can refer to for this fix? |
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 @syedrakib as hashicorp/terraform#26771. It was migrated here as a result of the provider split. The original body of the issue is below.
Terraform Version
Terraform Plan
All other resources and modules have been created and refreshing successfully. Only this 1 resource is left to create:
Crash Output
https://gist.github.com/syedrakib/0e0338ac106f37ca4ec3849a0d0eb431
Expected Behavior
The GCS bucket should just create. Or should fail with a proper error message.
Actual Behavior
Crashing with this crash.log
Additional Context
The crash log and error message are unclear
The text was updated successfully, but these errors were encountered: