diff --git a/vpc-v2.cfndsl.rb b/vpc-v2.cfndsl.rb index 89f614e..554922f 100644 --- a/vpc-v2.cfndsl.rb +++ b/vpc-v2.cfndsl.rb @@ -480,12 +480,12 @@ DeviceIndex: 0, AssociatePublicIpAddress: true, Groups: [ Ref(:NatInstanceSecurityGroup) ] - } + } if external_parameters[:nat_2023] - NetworkInterfaces: [{ + network_interfaces: { NetworkInterfaceId: Ref("NetworkInterface#{az}"), DeviceIndex: 0 - }] + } end template_data = { TagSpecifications: [