From 498be4561741b6605d98affe3fdc477f8279617a 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 8e473d484f8..0951ddfdd46 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'))