We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33483d9 commit 82e24dfCopy full SHA for 82e24df
cli/src/pcluster/templates/cluster_stack.py
@@ -858,11 +858,11 @@ def _add_head_node(self):
858
network_interface_id=self._head_eni.ref,
859
)
860
]
861
- for device_index in range(1, head_node.max_network_interface_count):
+ for network_interface_index in range(1, head_node.max_network_interface_count):
862
head_lt_nw_interfaces.append(
863
ec2.CfnLaunchTemplate.NetworkInterfaceProperty(
864
- device_index=device_index,
865
- network_card_index=device_index,
+ device_index=0,
+ network_card_index=network_interface_index,
866
groups=head_lt_security_groups,
867
subnet_id=head_node.networking.subnet_id,
868
0 commit comments