-
Notifications
You must be signed in to change notification settings - Fork 1.8k
spanner: fixed applying default_labels changes #13269
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
spanner: fixed applying default_labels changes #13269
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @NickElliot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
5229792
to
b61caa8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one point stood out to me
mmv1/templates/terraform/encoders/spanner_instance_update.go.tmpl
Outdated
Show resolved
Hide resolved
b61caa8
to
a358d88
Compare
Before this fix just changing default_labels on the provider for a google_spanner_instance resulted in this error: googleapi: Error 400: Invalid UpdateInstance request. [...] Must specify a non-empty field mask Fixes hashicorp/terraform-provider-google#18445 Added one acceptance tests to surface this issue. - TestAccSpannerInstance_basicUpdateWithProviderDefaultLabels
a358d88
to
86830bd
Compare
Addressed the review comment and re-executed the acceptance test.
|
@NickElliot This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 43 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
@GoogleCloudPlatform/terraform-team @NickElliot This PR has been waiting for review for 1 week. Please take a look! Use the label |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b1cca42
Before this fix just changing
default_labels
on the provider for agoogle_spanner_instance
resulted in this error:Fixes hashicorp/terraform-provider-google#18445
Added one acceptance tests to surface this issue.