1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[AWS] Fix SSM Parameter Store module when description is missing (#43020)

This commit is contained in:
Ryan Brown 2018-07-20 09:32:13 -04:00 committed by GitHub
parent 2e62e36590
commit 07927edfac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ def create_update_parameter(client, module):
if existing_parameter['Parameter']['Value'] != args['Value']: if existing_parameter['Parameter']['Value'] != args['Value']:
(changed, response) = update_parameter(client, module, args) (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 # Description field not available from get_parameter function so get it from describe_parameters
describe_existing_parameter = None describe_existing_parameter = None
try: try: