From 705d3faf8f140e7348e8b651deae75a915a66b4b Mon Sep 17 00:00:00 2001 From: "Michael K. Haskell" Date: Thu, 27 Oct 2022 12:17:47 -0700 Subject: [PATCH] #1573 remove unalowed variable _ from ssm_parameter --- plugins/modules/ssm_parameter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ssm_parameter.py b/plugins/modules/ssm_parameter.py index a1c0d3f9a2a..9516b61ab10 100644 --- a/plugins/modules/ssm_parameter.py +++ b/plugins/modules/ssm_parameter.py @@ -394,7 +394,7 @@ def update_parameter_tags(client, module, parameter_name, supplied_tags): if supplied_tags is None: return False, response - current_tags, _ = get_parameter_tags(client, module, parameter_name) + current_tags = get_parameter_tags(client, module, parameter_name)[0] tags_to_add, tags_to_remove = compare_aws_tags(current_tags, supplied_tags, module.params.get('purge_tags'))