Skip to content

Commit 9602782

Browse files
committed
add network interface tags
1 parent b3cc1b1 commit 9602782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/ec2_launch_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ def params_to_launch_data(
762762
if template_params.get("tags"):
763763
tag_list = ansible_dict_to_boto3_tag_list(template_params.get("tags"))
764764
template_params["tag_specifications"] = [
765-
{"resource_type": r_type, "tags": tag_list} for r_type in ("instance", "volume")
765+
{"resource_type": r_type, "tags": tag_list} for r_type in ("instance", "volume", "network-interface")
766766
]
767767
del template_params["tags"]
768768
if iam_instance_profile_arn:

0 commit comments

Comments
 (0)