Fix non us-east-1 deployment
This commit is contained in:
parent
19d5de3b30
commit
72eb2512b1
@ -123,7 +123,7 @@ Resources:
|
|||||||
Condition: CreateDns
|
Condition: CreateDns
|
||||||
Type: AWS::CloudFormation::Stack
|
Type: AWS::CloudFormation::Stack
|
||||||
Properties:
|
Properties:
|
||||||
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/dns.yaml'
|
TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/dns.yaml'
|
||||||
Parameters:
|
Parameters:
|
||||||
environment: !Ref environment
|
environment: !Ref environment
|
||||||
Domain: !Ref Domain
|
Domain: !Ref Domain
|
||||||
@ -139,7 +139,7 @@ Resources:
|
|||||||
Condition: CreateRdsStack
|
Condition: CreateRdsStack
|
||||||
Type: AWS::CloudFormation::Stack
|
Type: AWS::CloudFormation::Stack
|
||||||
Properties:
|
Properties:
|
||||||
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/rds.yaml'
|
TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/rds.yaml'
|
||||||
Parameters:
|
Parameters:
|
||||||
environment: !Ref environment
|
environment: !Ref environment
|
||||||
VpcId: !Ref VpcId
|
VpcId: !Ref VpcId
|
||||||
@ -156,7 +156,7 @@ Resources:
|
|||||||
LoadBalancing:
|
LoadBalancing:
|
||||||
Type: AWS::CloudFormation::Stack
|
Type: AWS::CloudFormation::Stack
|
||||||
Properties:
|
Properties:
|
||||||
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/load_balancing.yaml'
|
TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/load_balancing.yaml'
|
||||||
Parameters:
|
Parameters:
|
||||||
environment: !Ref environment
|
environment: !Ref environment
|
||||||
release: !Ref release
|
release: !Ref release
|
||||||
@ -171,7 +171,7 @@ Resources:
|
|||||||
Condition: CreateCluster
|
Condition: CreateCluster
|
||||||
Type: AWS::CloudFormation::Stack
|
Type: AWS::CloudFormation::Stack
|
||||||
Properties:
|
Properties:
|
||||||
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/cluster/top.yaml'
|
TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/cluster/top.yaml'
|
||||||
Parameters:
|
Parameters:
|
||||||
Environment: !Ref environment
|
Environment: !Ref environment
|
||||||
VpcId: !Ref VpcId
|
VpcId: !Ref VpcId
|
||||||
@ -184,7 +184,7 @@ Resources:
|
|||||||
TaskDefinition:
|
TaskDefinition:
|
||||||
Type: AWS::CloudFormation::Stack
|
Type: AWS::CloudFormation::Stack
|
||||||
Properties:
|
Properties:
|
||||||
TemplateURL: !Sub 'https://s3.${AWS::Region}.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/task.yaml'
|
TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/task.yaml'
|
||||||
Parameters:
|
Parameters:
|
||||||
DatabaseUsername: !If ["CreateRdsStack", !GetAtt RdsDatabase.Outputs.RdsUsername, !Ref DatabaseUsername]
|
DatabaseUsername: !If ["CreateRdsStack", !GetAtt RdsDatabase.Outputs.RdsUsername, !Ref DatabaseUsername]
|
||||||
DatabasePassword: !If ["CreateRdsStack", !Join ["", ["{{resolve:secretsmanager:", !GetAtt RdsDatabase.Outputs.RdsSecret, ":SecretString}}" ]], !Ref DatabasePassword]
|
DatabasePassword: !If ["CreateRdsStack", !Join ["", ["{{resolve:secretsmanager:", !GetAtt RdsDatabase.Outputs.RdsSecret, ":SecretString}}" ]], !Ref DatabasePassword]
|
||||||
|
Loading…
Reference in New Issue
Block a user