mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
[AWS] Fix SSM Parameter Store module when description is missing (#43020)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user