Created
September 9, 2018 00:04
-
-
Save jeffbrl/1eefec8378abdee206e6537ad32fd0d4 to your computer and use it in GitHub Desktop.
AWS CloudFormation NetworkInterfaces Syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From https://stackoverflow.com/questions/47644034/cloudformation-error-value-of-property-networkinterfaces-must-be-a-list-of-obje | |
MyAppNetworkInterface: | |
Type: AWS::EC2::NetworkInterface | |
Properties: | |
SubnetId: !Ref SubnetPrivate | |
MyApp: | |
Type: AWS::EC2::Instance | |
Properties: | |
InstanceType: t2.medium | |
NetworkInterfaces: | |
- NetworkInterfaceId: !Ref MyAppNetworkInterface | |
DeviceIndex: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment