From 70f30c4c3fa7f50b6a61661115e4012d042dc599 Mon Sep 17 00:00:00 2001 From: Shane Kennedy Date: Tue, 30 Apr 2024 08:49:26 +0200 Subject: [PATCH] ec2_launch_template: Tag network-interfaces --- plugins/modules/ec2_launch_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ec2_launch_template.py b/plugins/modules/ec2_launch_template.py index 9fd32711f91..739c821773e 100644 --- a/plugins/modules/ec2_launch_template.py +++ b/plugins/modules/ec2_launch_template.py @@ -517,7 +517,7 @@ def params_to_launch_data(module, template_params): if template_params.get("tags"): tag_list = ansible_dict_to_boto3_tag_list(template_params.get("tags")) template_params["tag_specifications"] = [ - {"resource_type": r_type, "tags": tag_list} for r_type in ("instance", "volume") + {"resource_type": r_type, "tags": tag_list} for r_type in ("instance", "volume", "network-interface") ] del template_params["tags"] if module.params.get("iam_instance_profile"):