fix(ec2): name launch template network interface groups groupId on the wire (#7138)

LaunchTemplateInstanceNetworkInterfaceSpecification.Groups is a GroupIdStringList
whose members are named groupId, not item. aws-sdk-go-v2 reads only groupId, so
Terraform saw security_groups as empty and planned an update every time.
This commit is contained in:
Allen Sanborn authored and GitHub committed 2026-10-31 21:54:32 -05:00
1 parent 89ecb594e1
commit 52055654a7
2 files changed
+7 -2

No files matched your search

@@ -5758,7 +5758,7 @@ public class Ec2QueryHandler {
if (!networkInterface.getGroups().isEmpty()) {
xml.start("groupSet");
for (String group : networkInterface.getGroups()) {
xml.elem("item", group);
xml.elem("groupId", group);
}
xml.end("groupSet");
}