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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
1 deletions
-
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: |
|
|
|