Skip to content

Commit

Permalink
ssm_parameter: add support for tags - remove unneeded parens and comm…
Browse files Browse the repository at this point in the history
…ented code (ansible-collections#1573)
  • Loading branch information
mikehas committed Nov 10, 2022
1 parent c30983c commit 498be45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/modules/ssm_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,9 @@ def create_update_parameter(client, module):
(changed, response) = update_parameter(client, module, **args)
if changed:
_wait_updated(client, module, module.params.get('name'), original_version)
# import time
# time.sleep(300)

# Handle tag updates for existing parameters
if (module.params.get('overwrite_value') != 'never'):
if module.params.get('overwrite_value') != 'never':
tags_changed, tags_response = update_parameter_tags(
client, module, existing_parameter['Parameter']['Name'],
module.params.get('tags'))
Expand Down

0 comments on commit 498be45

Please sign in to comment.