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.
│ Error: expected retention_policy.0.retention_period to be in the range (1 - 2147483647), got 3155760000
│
│ with google_storage_bucket.sad,
│ on buckets.tf line 17, in resource "google_storage_bucket" "invalid_data":
│ 17: retention_period = 3155760000
Steps to reproduce
terraform validate with the above configuration.
Important Factoids
This is the same issue as was solved in #6510 / #6511 . So it appears there was a regression.
Community Note
Terraform Version & Provider Version(s)
OpenTofu v1.7.3
on darwin_arm64
Affected Resource(s)
google_storage_bucket
Terraform Configuration
Debug Output
No response
Expected Behavior
validate
(orplan
orapply
) should succeed.Actual Behavior
Validation fails with:
Steps to reproduce
terraform validate
with the above configuration.Important Factoids
This is the same issue as was solved in #6510 / #6511 . So it appears there was a regression.
The GCP docs still show the max value as 3,155,760,000 seconds
https://cloud.google.com/storage/docs/bucket-lock#retention-periods
References
No response
b/359075861
The text was updated successfully, but these errors were encountered: