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.medium |
|
|
- t2.large |
|
|
- t2.large |
|
|
ConstraintDescription: must be a valid EC2 instance type. |
|
|
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: |
|
|
Metadata: |
|
|
AWS::CloudFormation::Interface: |
|
|
AWS::CloudFormation::Interface: |
|
@ -119,7 +122,7 @@ Resources: |
|
|
- 0 |
|
|
- 0 |
|
|
- Fn::GetAZs: { Ref: "AWS::Region" } |
|
|
- Fn::GetAZs: { Ref: "AWS::Region" } |
|
|
KeyName: !Ref KeyName |
|
|
KeyName: !Ref KeyName |
|
|
ImageId: ami-0873b46c45c11058d |
|
|
|
|
|
|
|
|
ImageId: !Ref LatestAmiId |
|
|
InstanceType: !Ref InstanceType |
|
|
InstanceType: !Ref InstanceType |
|
|
Monitoring: true |
|
|
Monitoring: true |
|
|
SecurityGroupIds: |
|
|
SecurityGroupIds: |
|
|