I get the error Value of property NetworkInterfaces must be a list of objects
when referring to a NetworkInterface in a CloudFormation template.
Here is the relevant section:
MyAppNetworkInterface:
Type: AWS::EC2::NetworkInterface
Properties:
SubnetId: !Ref SubnetPrivate
MyApp: Type: AWS::EC2::Instance Properties: InstanceType: t2.medium NetworkInterfaces: - !Ref MyAppNetworkInterface