Fix hash_key_name to be optional for delete (#25009)

(cherry picked from commit 3ac9273507)
This commit is contained in:
Alan Loi 2017-06-10 19:04:51 +10:00 committed by Brian Coca
parent 09635b8460
commit 68d21e6729

View file

@ -387,7 +387,7 @@ def main():
argument_spec.update(dict(
state=dict(default='present', choices=['present', 'absent']),
name=dict(required=True, type='str'),
hash_key_name=dict(required=True, type='str'),
hash_key_name=dict(type='str'),
hash_key_type=dict(default='STRING', type='str', choices=['STRING', 'NUMBER', 'BINARY']),
range_key_name=dict(type='str'),
range_key_type=dict(default='STRING', type='str', choices=['STRING', 'NUMBER', 'BINARY']),