File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,14 @@ Parameters:
3939 Description : Asserts that lambdas are signed when deployed.
4040 Default : " none"
4141
42+ CRIPrivateApiGatewayId :
43+ Type : String
44+ Default : " check-hmrc-cri-api-PrivateApiGatewayId"
45+
46+ ContainerImageName :
47+ Type : String
48+ Default : " CONTAINER-IMAGE-PLACEHOLDER"
49+
4250 DeploymentStrategy :
4351 Description : " Predefined deployment configuration for ECS application"
4452 Type : String
@@ -422,14 +430,14 @@ Resources:
422430 Properties :
423431 ContainerDefinitions :
424432 - Essential : true
425- Image : CONTAINER-IMAGE-PLACEHOLDER
433+ Image : !Sub ${ContainerImageName}
426434 Name : app
427435 Environment :
428436 - Name : API_BASE_URL
429437 Value : !Sub
430438 - " https://${APIGatewayId}-${VpceId}.execute-api.${AWS::Region}.amazonaws.com/${Environment}"
431439 - APIGatewayId :
432- Fn::ImportValue : check-hmrc-cri-api-PrivateApiGatewayId
440+ Fn::ImportValue : !Ref CRIPrivateApiGatewayId
433441 VpceId :
434442 Fn::ImportValue : cri-vpc-ExecuteApiGatewayEndpointId
435443 Environment : !Ref Environment
You can’t perform that action at this time.
0 commit comments