You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
As user reports after bucket creation when it exists with the provided code and configuration, when a terraform plan is executed it recognizes as a change to destroy and then create replacement but if the locations of the attribute data_locations is set in uppercase [ "AUSTRALIA-SOUTHEAST1", "AUSTRALIA-SOUTHEAST2" ] instead of lowercase [ "australia-southeast1", "australia-southeast2" ] it returns a message saying: No changes. Your infrastructure matches the configuration
Community Note
Terraform Version & Provider Version(s)
Terraform v1.8.2
on darwin_arm64
Affected Resource(s)
google_storage_bucket
Terraform Configuration
Debug Output
https://gist.github.com/VenelinMartinov/9ac1801364ef4e5c494b377e708dd714
Expected Behavior
The bucket gets replaced each time.
Note that upper-casing the locations fixes this - seems like they need to be normalised before diffing.
Actual Behavior
Should not get replaced
Steps to reproduce
terraform apply
terraform plan
Important Factoids
No response
References
No response
b/340346616
The text was updated successfully, but these errors were encountered: