Launching made easy

This commit is contained in:
Layla 2019-10-23 01:26:00 -04:00
parent d51db929e1
commit d2e325f1f7
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,11 @@
# Heroic Lab's Nakama on ECS
CloudFormation stack for creating an ECS service for Nakama.
## Launching Stack
Make sure you are logged into the AWS Console and have permissions then click:
[![Launch Stack](https://cdn.rawgit.com/buildkite/cloudformation-launch-stack-button-svg/master/launch-stack.svg)](https://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/template?stackName=BillingAlerts&templateURL=https://sumu-stacks.s3.amazonaws.com/nakama/production/cloudformation/top.yaml)
Fill out the parameters and launch!

View File

@ -14,9 +14,6 @@ Parameters:
Default: production
AllowedValues: ['develop', 'production']
ConstraintDescription: "Must be a possible release version."
launchBucket:
Type: String
Description: Bucket containing CloudFormation files
#-------------------
# ECS Configuration
@ -169,7 +166,7 @@ Resources:
TaskDefinition:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/${launchBucket}/${release}/cloudformation/nakama/task.yaml'
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/task.yaml'
Parameters:
DatabaseUsername: !Ref DatabaseUsername
DatabasePassword: !Ref DatabasePassword