From 05d2567101a544c2bee34838fc9775a87a5408c1 Mon Sep 17 00:00:00 2001 From: Patrick Decat Date: Tue, 20 Jun 2017 20:12:30 +0200 Subject: [PATCH] Clarify documentation regarding the required action and condition blocks, and that at least one condition element has to be defined --- website/docs/r/storage_bucket.html.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/r/storage_bucket.html.markdown b/website/docs/r/storage_bucket.html.markdown index ee6a2874..c4692a38 100644 --- a/website/docs/r/storage_bucket.html.markdown +++ b/website/docs/r/storage_bucket.html.markdown @@ -64,9 +64,9 @@ to `google_storage_bucket_acl.predefined_acl`. The `lifecycle_rule` block supports: -* `action` - The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below. +* `action` - (Required) The Lifecycle Rule's action configuration. A single block of this type is supported. Structure is documented below. -* `condition` - The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below. +* `condition` - (Required) The Lifecycle Rule's condition configuration. A single block of this type is supported. Structure is documented below. The `action` block supports: @@ -74,7 +74,7 @@ The `action` block supports: * `storage_class` - (Required if action type is `SetStorageClass`) The target [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of objects affected by this Lifecycle Rule. Supported values include: `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`. -The `condition` block supports: +The `condition` block supports the following elements, and requires at least one to be defined: * `age` - (Optional) Minimum age of an object in days to satisfy this condition.