Skip to content

Commit

Permalink
modifying the CORALOGIX_LOG_URL parameter to be a one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
nir-limor-coralogix committed Jul 27, 2023
1 parent 2c3ad48 commit c8dd0e2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ecr/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,7 @@ Resources:
app_name: !Ref ApplicationName
sub_name: !Ref SubsystemName
private_key: !Ref ApiKey
CORALOGIX_LOG_URL: !If
- IsRegionCustomUrlNotEmpty
- Fn::Sub:
- "https://ingress.${CustomDomain}/api/v1/logs"
- CustomDomain: !Ref CustomDomain
- !FindInMap [CoralogixDomainMap, !Ref CoralogixRegion, LogUrl]
CORALOGIX_LOG_URL: !If [IsRegionCustomUrlNotEmpty, !Sub "https://ingress.${CustomDomain}/api/v1/logs", !FindInMap [CoralogixDomainMap, !Ref CoralogixRegion, LogUrl]]
Policies:
- Statement:
- Sid: EcrDescribeImageScanFindings
Expand Down

0 comments on commit c8dd0e2

Please sign in to comment.