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

Commit 12c6e27

Browse files
committed
Fixes in master.yaml and pipeline.yaml
1 parent dabd130 commit 12c6e27

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

cloudformation/master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Resources:
6969
TemplateURL: "https://s3.amazonaws.com/load-testing-using-aws-fargate/artifacts/templates/pipeline.yaml"
7070
Parameters:
7171
DockerRegistryArn: !GetAtt DockerRegistry.Arn
72-
MasterStackId: !Ref AWS::StackId
72+
MasterStackId: !Ref 'AWS::StackName'
7373
GitRepositoryName: !Ref GitRepositoryName
7474
DockerRegistryURL: !Join
7575
- ''

cloudformation/pipeline.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Resources:
4747
# into the ECR Registry.
4848
CodeBuild:
4949
Type: AWS::CodeBuild::Project
50-
DependsOn: BuildAndPipelinePolicy
5150
Properties:
5251
Description: Builds distributed load testing suite
5352
TimeoutInMinutes: 20
@@ -87,7 +86,6 @@ Resources:
8786
# execution of Fargate tasks into the different regions.
8887
LoadTestRunner:
8988
Type: AWS::CodeBuild::Project
90-
DependsOn: BuildAndPipelinePolicy
9189
Properties:
9290
Description: Runs the load tests in Fargate
9391
ServiceRole: !GetAtt CodeBuildRole.Arn
@@ -97,16 +95,16 @@ Resources:
9795
Type: LINUX_CONTAINER
9896
ComputeType: BUILD_GENERAL1_SMALL
9997
Image: "aws/codebuild/python:3.6.5"
100-
EnvironmentVariables:
101-
-
102-
Name: TASK_COUNT
103-
Value: !Ref ContainersPerRegion
104-
-
105-
Name: REGION_1
106-
Value: !Ref AWS::Region
107-
-
108-
Name: REGION_1_STACK_NAME
109-
Value: !Ref MasterStackId
98+
EnvironmentVariables:
99+
-
100+
Name: "TASK_COUNT"
101+
Value: !Ref ContainersPerRegion
102+
-
103+
Name: "REGION_1"
104+
Value: !Ref 'AWS::Region'
105+
-
106+
Name: "REGION_1_STACK_NAME"
107+
Value: !Ref MasterStackId
110108
Source:
111109
Type: CODEPIPELINE
112110
BuildSpec: !Sub |

0 commit comments

Comments
 (0)