Skip to content

Commit

Permalink
add network interface tags
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Oct 4, 2024
1 parent c036ff2 commit cab6e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/ec2_launch_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def params_to_launch_data(
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 iam_instance_profile_arn:
Expand Down

0 comments on commit cab6e46

Please sign in to comment.