Skip to content

Catch googleapi errors from flattenprop #5973

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

Conversation

modular-magician
Copy link
Collaborator

Fixes #5890

The custom flatten function at https://github.com/GoogleCloudPlatform/magic-modules/blob/master/templates/terraform/custom_flatten/secret_version_access.go.erb#L32 returns googleapi.Error when the template is expecting []interface {}, causing a crash.

Release Note Template for Downstream PRs (will be copied)

Fixed an issue where `google_secret_manager_secret_version` would crash due to insufficient permissions

Derived from GoogleCloudPlatform/magic-modules#3292

@ghost ghost added the size/xs label Mar 25, 2020
@modular-magician modular-magician merged commit 37c16f9 into hashicorp:master Mar 25, 2020
@ghost
Copy link

ghost commented Apr 25, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 25, 2020
@modular-magician modular-magician deleted the downstream-pr-196b6f37ae3ec0f3b91ce0eaf2061d43fddfd158 branch November 17, 2024 00:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unclear error message when unauthorized: google_secret_manager_secret_version
1 participant