-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
google provider returning 0 exit code on error #5181
Comments
@marcb1 Its not a bug working as expected. If you haven't used that service before in your project, GCP expects you to enable it before you use it. It can be done in 2 ways
|
@venkykuberan thanks for the info. I think this was a bug in the main terraform core and the google provider. We've upgraded from 0.12.16 to 0.12.18 and the issue went away. |
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 info:
We are creating the following resource via the google provider:
When running terraform apply, we get the following error:
However the exit code returned by terraform is
0
. Our automation relies on an error exit code (non-zero) being returned.Is this a terraform bug, or a google provider bug? Let me know I can close and re-open this on terraform's main github repo.
The text was updated successfully, but these errors were encountered: