AWSTemplateFormatVersion: "2010-09-09" Resources: WebInstance: Type: AWS::EC2::Instance Properties: InstanceType: t2.nano ImageId: ami-80861296 KeyName: act3-key SecurityGroupIds: [ !ImportValue SCDemoSG ] SubnetId: !Select [ 0, !Split [ ",", !ImportValue SCDemoPublicSubnet ] ]