Skip to content

Commit db45118

Browse files
authored
fix: revert ECR_DEPLOYED and ECS_DEPLOYED required parameters (#41)
1 parent 6fff849 commit db45118

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

templates/CloudScanning.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ Parameters:
2727
- "Yes"
2828
- "No"
2929
Default: "Yes"
30+
ECRDeployed:
31+
Type: String
32+
AllowedValues:
33+
- "Yes"
34+
- "No"
35+
ECSDeployed:
36+
Type: String
37+
AllowedValues:
38+
- "Yes"
39+
- "No"
3040
BuildProject:
3141
Type: String
3242
Default: ""
@@ -36,6 +46,8 @@ Parameters:
3646

3747
Conditions:
3848
VerifySSL: !Equals [!Ref VerifySSL, "Yes"]
49+
ECRDeployed: !Equals [!Ref ECRDeployed, "Yes"]
50+
ECSDeployed: !Equals [!Ref ECSDeployed, "Yes"]
3951

4052
Resources:
4153

@@ -200,6 +212,10 @@ Resources:
200212
Value: 30s
201213
- Name: CODEBUILD_PROJECT
202214
Value: !Sub ${BuildProject}
215+
- Name: ECR_DEPLOYED
216+
Value: !If [ ECRDeployed, "true", "false" ]
217+
- Name: ECS_DEPLOYED
218+
Value: !If [ ECSDeployed, "true", "false" ]
203219
- Name: TELEMETRY_DEPLOYMENT_METHOD
204220
Value: cft
205221
Secrets:

templates/CloudVision.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ Resources:
202202
SysdigSecureEndpointSsm: !Ref SysdigSecureEndpointParameter
203203
SysdigSecureAPITokenSsm: !Ref SysdigSecureAPITokenParameter
204204
VerifySSL: !If [ EndpointIsSaas, "Yes", "No" ]
205+
ECRDeployed: !Ref ECRImageScanningDeploy
206+
ECSDeployed: !Ref ECSImageScanningDeploy
205207
BuildProject: !GetAtt [ "ScanningCodeBuildStack", "Outputs.BuildProject" ]
206208
CloudTrailTopic: !If [ DeployCloudTrail, !GetAtt ["CloudTrailStack", "Outputs.Topic"], !Ref ExistentCloudTrailSNSTopic ]
207209

0 commit comments

Comments
 (0)