Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit b24727e

Browse files
committed
Fixes in additional-region.yaml
1 parent 8ae96ee commit b24727e

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

cloudformation/additional-region.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,19 @@
1414
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1515
AWSTemplateFormatVersion: 2010-09-09
1616
Description: >
17-
Master Template of Distributed Load Test Using AWS Fargate.
18-
It deploys an ECR Repository, an ECS Fargate Cluster, a VPC,
19-
CloudWatch Logs group for the Fargate tasks and associated
20-
IAM roles.
17+
Additional Region for Distributed Load Test Using AWS Fargate.
18+
It deploys a Fargate Cluster, a VPC and a CloudWatch Log group.
2119
2220
Parameters:
23-
DockerRegistry:
21+
DockerRegistryName:
2422
Type: String
2523
Description: >
26-
ECR Registry created in the master CloudFormation template. It should be in the form of
27-
account_id.dkr.ecr.region.amazonaws.com/repository_name
24+
Name of the ECR repository created in the master CloudFormation template.
25+
DockerRegistryURL:
26+
Type: String
27+
Description: >
28+
URL of the ECR repository created in the master CloudFormation template. It should be in the form of
29+
account_id.dkr.ecr.region.amazonaws.com
2830
TaskExecutionRoleArn:
2931
Type: String
3032
Description: >
@@ -47,5 +49,7 @@ Resources:
4749
TaskExecutionRoleArn: !Ref TaskExecutionRoleArn
4850
DockerImage: !Join
4951
- ''
50-
- - !Ref DockerRegistry
52+
- - !Ref DockerRegistryURL
53+
- '/'
54+
- !Ref DockerRegistryName
5155
- ':latest'

cloudformation/master.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1515
AWSTemplateFormatVersion: 2010-09-09
1616
Description: >
17-
Master Template of Distributed Load Test Using AWS Fargate.
18-
It deploys an ECR Repository, an ECS Fargate Cluster, a VPC,
19-
CloudWatch Logs group for the Fargate tasks and associated
20-
IAM roles.
17+
Master Template for Distributed Load Test Using AWS Fargate.
18+
It deploys an ECR Repository, a Fargate Cluster, a VPC,
19+
a CloudWatch Log Group and an IAM Execution Role.
2120
2221
Resources:
2322
DockerRegistry:
@@ -68,4 +67,6 @@ Outputs:
6867
- '.dkr.ecr.'
6968
- !Ref 'AWS::Region'
7069
- '.amazonaws.com/'
71-
- !Ref DockerRegistry
70+
- !Ref DockerRegistry
71+
TaskExecutionRoleArn:
72+
Value: !GetAtt TaskExecutionRole.Arn

0 commit comments

Comments
 (0)