Skip to content
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

Fix metadata for storage bucket object #6271

Conversation

modular-magician
Copy link
Collaborator

Release Note Template for Downstream PRs (will be copied)

storage: Fixed setting/reading `google_storage_bucket_object`  metadata on API object

Fixes #6256

This wasn't caught by the metadata test because the absence of the field in both create and read - resource.TestCheckResourceAttr checks against state, where metadata was never changed from the initial config value. Usually this is fixed by the import tests.

I don't think storage bucket object is out of the range of autogenerating, so I'll probably do that in a follow-up PR. At the very least, we should support import, though I'm not sure if we avoided it because of content/source.

Derived from GoogleCloudPlatform/magic-modules#3458

Signed-off-by: Modular Magician <magic-modules@google.com>
@ghost ghost added the size/xs label May 1, 2020
@modular-magician modular-magician merged commit 9ca3681 into hashicorp:master May 1, 2020
@ghost
Copy link

ghost commented Jun 1, 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 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 1, 2020
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.

google_storage_bucket_object not setting metadata
1 participant