Update InstanceType

This commit is contained in:
Layla 2020-07-27 14:32:34 -04:00
parent 2826c2eb03
commit 9160ec0f34
No known key found for this signature in database
GPG Key ID: A494D9357BA1BE31

View File

@ -17,6 +17,9 @@ Parameters:
LatestAmiId :
Type : 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>'
Default: '/aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id'
InstanceType:
Type: String
Default: "t3.micro"
Resources:
EcsCluster:
@ -92,7 +95,7 @@ Resources:
Type: AWS::AutoScaling::LaunchConfiguration
Properties:
ImageId: !Ref LatestAmiId
InstanceType: t2.micro
InstanceType: !Ref InstanceType
AssociatePublicIpAddress: true
IamInstanceProfile: !Ref EcsRoleInstaceProfile
KeyName: !Ref AWS::NoValue