Since Feb 15, the config of Cloud Storage "Bucket Policy Only" has been added.
If this config is enabled, object ACLs cannot be used.
It seems that the current API operation defaults to "Enabled: false" of Bucket Policy Only.
However, I think that this config should be made declaratively.
resource "google_storage_bucket" "sample" {
name = "sample-bucket"
iam_configuration {
bucket_policy_only {
enabled = true
}
}
}
This would be very useful to me! 💯
+1 for this feature
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 👉 [email protected]. Thanks!