From 81c69c9959bd149ae6795aace07c0b09557cbd25 Mon Sep 17 00:00:00 2001 From: Antonio Busuladzich Date: Thu, 17 Oct 2024 21:13:48 +0300 Subject: [PATCH] Add spec to tag Node Network interface on provision --- src/main/java/hudson/plugins/ec2/SlaveTemplate.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/hudson/plugins/ec2/SlaveTemplate.java b/src/main/java/hudson/plugins/ec2/SlaveTemplate.java index 337b2b78d..c2e2767f6 100644 --- a/src/main/java/hudson/plugins/ec2/SlaveTemplate.java +++ b/src/main/java/hudson/plugins/ec2/SlaveTemplate.java @@ -1105,6 +1105,7 @@ HashMap> makeRunInstancesRequestAndFilters(Ima tagSpecification.setTags(instTags); tagList.add(tagSpecification.clone().withResourceType(ResourceType.Instance)); tagList.add(tagSpecification.clone().withResourceType(ResourceType.Volume)); + tagList.add(tagSpecification.clone().withResourceType(ResourceType.NetworkInterface)); riRequest.setTagSpecifications(tagList); if (metadataSupported) {