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 authored and tremble committed Feb 2, 2023
1 parent cd609e1 commit 474aa60
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 474aa60

Please sign in to comment.