From c9044365bde693454f3ab2a4a453de3472f99299 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Mon, 15 May 2017 08:17:49 -0400 Subject: [PATCH 1/2] provider/aws: Update documentation for dynamodb --- .../source/docs/providers/aws/r/dynamodb_table.html.markdown | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/dynamodb_table.html.markdown b/website/source/docs/providers/aws/r/dynamodb_table.html.markdown index 3a07f70b8..49c66e1c6 100644 --- a/website/source/docs/providers/aws/r/dynamodb_table.html.markdown +++ b/website/source/docs/providers/aws/r/dynamodb_table.html.markdown @@ -77,7 +77,9 @@ The following arguments are supported: * `type` - One of: S, N, or B for (S)tring, (N)umber or (B)inary data * `stream_enabled` - (Optional) Indicates whether Streams are to be enabled (true) or disabled (false). * `stream_view_type` - (Optional) When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are KEYS_ONLY, NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES. -* `ttl` - (Optional) Indicates whether time to live is enabled (true) or disabled (false) and the `attribute_name` to be used. +* `ttl` - (Optional) Defines ttl, has two properties, and can only be specified once: + * `enabled` - (Required) Indicates whether ttl is enabled (true) or disabled (false). + * `attribute_name` - (Required) The `TTL` Attribute to be used. * `local_secondary_index` - (Optional, Forces new resource) Describe an LSI on the table; these can only be allocated *at creation* so you cannot change this definition after you have created the resource. From ccd001f4260e8f89c1dac119d0939d240a71640c Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Mon, 15 May 2017 08:31:43 -0400 Subject: [PATCH 2/2] provider/aws: fix documentation for dynamodb --- .../source/docs/providers/aws/r/dynamodb_table.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/providers/aws/r/dynamodb_table.html.markdown b/website/source/docs/providers/aws/r/dynamodb_table.html.markdown index 49c66e1c6..413a17abb 100644 --- a/website/source/docs/providers/aws/r/dynamodb_table.html.markdown +++ b/website/source/docs/providers/aws/r/dynamodb_table.html.markdown @@ -79,7 +79,7 @@ The following arguments are supported: * `stream_view_type` - (Optional) When an item in the table is modified, StreamViewType determines what information is written to the table's stream. Valid values are KEYS_ONLY, NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES. * `ttl` - (Optional) Defines ttl, has two properties, and can only be specified once: * `enabled` - (Required) Indicates whether ttl is enabled (true) or disabled (false). - * `attribute_name` - (Required) The `TTL` Attribute to be used. + * `attribute_name` - (Required) The name of the table attribute to store the TTL timestamp in. * `local_secondary_index` - (Optional, Forces new resource) Describe an LSI on the table; these can only be allocated *at creation* so you cannot change this definition after you have created the resource.