-
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
google_cloud_run_service doesn't show details when definition is invalid #6099
Comments
@charleskorn I have noticed cloudrun API isn't sending detail description of the error in the message attribute for other failures too. We will append the fieldViolations description in the provider returned error message. |
Filed a bug against the team upstream to return the useful error message in the message that we parse. We don't have a precendent for parsing details in the provider- they're generally (externally) undocumented formats that we're hesitant to hook in to. b/153896811 for my / other team members' reference. |
Deduping to #6263, which would solve this generally. |
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 👉 [email protected]. Thanks! |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
google_cloud_run_service
Terraform Configuration Files
Debug Output
Relevant log lines: https://gist.github.com/charleskorn/28b6424b4251a720a938611221d26ee0
Expected Behavior
terraform apply
includes details of why the definition is invalid as returned by the API, for example:Actual Behavior
terraform apply
displays a generic "the request has errors" message with no details on what is invalid, even though the Cloud Run API response (in debug logs) includes a detailed error messageThe text was updated successfully, but these errors were encountered: