Merge pull request #4147 from hashicorp/b-aws-dynamo-gsi-docs

providers/aws: Update Dynamo DB docs for GSI hash_key
This commit is contained in:
Clint 2015-12-04 14:55:26 -06:00
commit c05b0a5a0d
1 changed files with 3 additions and 2 deletions

View File

@ -72,8 +72,9 @@ For both `local_secondary_index` and `global_secondary_index` objects,
the following properties are supported:
* `name` - (Required) The name of the LSI or GSI
* `hash_key` - (Required) The name of the hash key in the index; must be
defined as an attribute in the resource
* `hash_key` - (Required for GSI) The name of the hash key in the index; must be
defined as an attribute in the resource. Only applies to
`global_secondary_index`
* `range_key` - (Required) The name of the range key; must be defined
* `projection_type` - (Required) One of "ALL", "INCLUDE" or "KEYS_ONLY"
where *ALL* projects every attribute into the index, *KEYS_ONLY*