Skip to content

Commit

Permalink
[AWS] Fix SSM Parameter Store module when description is missing (ans…
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansb authored Jul 20, 2018
1 parent 2e62e36 commit 07927ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def create_update_parameter(client, module):
if existing_parameter['Parameter']['Value'] != args['Value']:
(changed, response) = update_parameter(client, module, args)

if args['Description']:
if args.get('Description'):
# Description field not available from get_parameter function so get it from describe_parameters
describe_existing_parameter = None
try:
Expand Down

0 comments on commit 07927ed

Please sign in to comment.