mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
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:
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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user