From 474aa60f4632f5dd6408b63b032e6b1df88aacf3 Mon Sep 17 00:00:00 2001 From: "Michael K. Haskell" Date: Thu, 10 Nov 2022 15:49:24 -0800 Subject: [PATCH] ssm_parameter: add support for tags - remove unneeded parens and commented code (#1573) --- plugins/modules/ssm_parameter.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/modules/ssm_parameter.py b/plugins/modules/ssm_parameter.py index 2cc273b7591..cbcc39e7584 100644 --- a/plugins/modules/ssm_parameter.py +++ b/plugins/modules/ssm_parameter.py @@ -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'))