diff --git a/.changelog/5694.txt b/.changelog/5694.txt new file mode 100644 index 0000000000..8ec013c069 --- /dev/null +++ b/.changelog/5694.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/resource_storage_bucket.go b/google-beta/resource_storage_bucket.go index 863f9e6e01..8ffbaeed02 100644 --- a/google-beta/resource_storage_bucket.go +++ b/google-beta/resource_storage_bucket.go @@ -318,8 +318,9 @@ func resourceStorageBucket() *schema.Resource { }, "default_event_based_hold": { - Type: schema.TypeBool, - Optional: true, + Type: schema.TypeBool, + Optional: true, + Description: `Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.`, }, "logging": { diff --git a/website/docs/r/storage_bucket.html.markdown b/website/docs/r/storage_bucket.html.markdown index 419a278a95..26c6297b53 100644 --- a/website/docs/r/storage_bucket.html.markdown +++ b/website/docs/r/storage_bucket.html.markdown @@ -89,6 +89,8 @@ The following arguments are supported: * `cors` - (Optional) The bucket's [Cross-Origin Resource Sharing (CORS)](https://www.w3.org/TR/cors/) configuration. Multiple blocks of this type are permitted. Structure is [documented below](#nested_cors). +* `default_event_based_hold` - (Optional) Whether or not to automatically apply an eventBasedHold to new objects added to the bucket. + * `retention_policy` - (Optional) Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is [documented below](#nested_retention_policy). * `labels` - (Optional) A map of key/value label pairs to assign to the bucket.