-
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
gcs-data-bucket
metadata key is now modifiable by the user
#12505
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @roaks3, 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. |
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: 21 Click here to see the affected service packages
🟢 All tests passed! View the build log |
@roaks3 This PR has been waiting for review for 3 weekdays. 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.
I can't quite tell if this is a breaking change, per https://googlecloudplatform.github.io/magic-modules/breaking-changes/breaking-changes/#field-level-breaking-changes. Do you know what happens if a user has this field specified right now, and then upgrades the provider? It seems like it could produce a new change that could be unexpected. Might be worth a test as well to demonstrate what happens.
This key was never allowed to be set by terraform nor was set by the backend. We now allow instances to have it set by Terraform update. Also newer instances can be created with the said key on Terraform. |
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.
I was more considering if they had the key currently in their config, even though it is ignored:
metadata = {
gcs-data-bucket = "some-value"
}
I believe someone could be using this config today, and then with this change, it would suddenly apply the "some-value".
But assuming that's correct, this does seem like fairly unusual usage, and I expect we would be fine including it in a minor version. I also see that there is precedent (we removed nvidia-driver-gcs-path
in #10900).
gcs-data-bucket
metadata key is now modifiable by the user
hashicorp/terraform-provider-google#20728
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.