Browse Source

Merge pull request #978 from doccano/bugfix/#957

Update cloudformation template to fix #957
pull/981/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
5ab8bbf3fa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. 5
      template.aws.yaml

5
template.aws.yaml

@ -25,6 +25,9 @@ Parameters:
- t2.medium
- t2.large
ConstraintDescription: must be a valid EC2 instance type.
LatestAmiId:
Type: 'AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>'
Default: '/aws/service/ami-amazon-linux-latest/amzn2-ami-hvm-x86_64-gp2'
Metadata:
AWS::CloudFormation::Interface:
@ -119,7 +122,7 @@ Resources:
- 0
- Fn::GetAZs: { Ref: "AWS::Region" }
KeyName: !Ref KeyName
ImageId: ami-0873b46c45c11058d
ImageId: !Ref LatestAmiId
InstanceType: !Ref InstanceType
Monitoring: true
SecurityGroupIds:

Loading…
Cancel
Save