File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed
Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,6 @@ fix_string_key cfnDriftDetectionGroup "${CFN_DRIFT_DETECTION_GROUP}"
183183fix_boolean_number_key isPullRequest " ${IS_PULL_REQUEST} "
184184fix_string_key csocUKWafDestination " arn:aws:logs:eu-west-2:693466633220:destination:waf_log_destination" # CSOC WAF log destination - do not change
185185fix_string_key csocUSWafDestination " arn:aws:logs:us-east-1:693466633220:destination:waf_log_destination_virginia" # CSOC WAF log destination - do not change
186- fix_string_key csocApiGatewayDestination " arn:aws:logs:eu-west-2:693466633220:destination:api_gateway_log_destination" # CSOC API Gateway log destination - do not change
187186fix_boolean_number_key forwardCsocLogs " ${FORWARD_CSOC_LOGS} "
188187
189188if [ " $CDK_APP_NAME " == " StatefulResourcesApp" ]; then
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ jobs:
183183 REACT_LOG_LEVEL : " debug"
184184 LOG_RETENTION_IN_DAYS : 30
185185 IS_PULL_REQUEST : true
186- FORWARD_CSOC_LOGS : true
186+ FORWARD_CSOC_LOGS : false
187187 secrets : inherit
188188 report_deployed_url :
189189 needs : [release_code, get_issue_number]
Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ cdk-synth-stateful-resources-no-mock:
218218 DO_NOT_GET_AWS_EXPORT=true \
219219 IS_PULL_REQUEST=false \
220220 USE_ZONE_APEX=false \
221+ FORWARD_CSOC_LOGS=true \
221222 ./.github/scripts/fix_cdk_json.sh .local_config/stateful_app.config.json
222223 CONFIG_FILE_NAME=.local_config/stateful_app.config.json npx cdk synth \
223224 --quiet \
@@ -267,6 +268,7 @@ cdk-synth-stateless-resources-no-mock:
267268 CLOUDFRONT_ORIGIN_CUSTOM_HEADER=foo \
268269 IS_PULL_REQUEST=false \
269270 USE_ZONE_APEX=false \
271+ FORWARD_CSOC_LOGS=true \
270272 ./.github/scripts/fix_cdk_json.sh .local_config/stateless_app.config.json
271273 CONFIG_FILE_NAME=.local_config/stateless_app.config.json npx cdk synth \
272274 --quiet \
@@ -313,6 +315,7 @@ cdk-synth-stateful-resources-mock:
313315 DO_NOT_GET_AWS_EXPORT=true \
314316 IS_PULL_REQUEST=false \
315317 USE_ZONE_APEX=false \
318+ FORWARD_CSOC_LOGS=true \
316319 ./.github/scripts/fix_cdk_json.sh .local_config/stateful_app.config.json
317320 CONFIG_FILE_NAME=.local_config/stateful_app.config.json npx cdk synth \
318321 --quiet \
@@ -368,6 +371,7 @@ cdk-synth-stateless-resources-mock:
368371 CLOUDFRONT_ORIGIN_CUSTOM_HEADER=foo \
369372 IS_PULL_REQUEST=false \
370373 USE_ZONE_APEX=false \
374+ FORWARD_CSOC_LOGS=true \
371375 ./.github/scripts/fix_cdk_json.sh .local_config/stateless_app.config.json
372376 CONFIG_FILE_NAME=.local_config/stateless_app.config.json npx cdk synth \
373377 --quiet \
Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ export class StatelessResourcesStack extends Stack {
9898 const githubAllowListIpv6 = this . node . tryGetContext ( "githubAllowListIpv6" )
9999 const cloudfrontOriginCustomHeader = this . node . tryGetContext ( "cloudfrontOriginCustomHeader" )
100100 const csocUKWafDestination : string = this . node . tryGetContext ( "csocUKWafDestination" )
101- // const csocApiGatewayDestination: string = this.node.tryGetContext("csocApiGatewayDestination")
102101 const forwardCsocLogs : boolean = this . node . tryGetContext ( "forwardCsocLogs" )
103102
104103 // Imports
Original file line number Diff line number Diff line change @@ -244,6 +244,7 @@ ROLE_ID=$(echo "$CF_LONDON_EXPORTS" | \
244244 --arg EXPORT_NAME " ${SERVICE_NAME} -stateless-resources:local:roleId" \
245245 -r ' .Exports[] | select(.Name == $EXPORT_NAME) | .Value' )
246246USE_ZONE_APEX=false
247+ FORWARD_CSOC_LOGS=false
247248
248249# export all the vars so they can be picked up by external programs
249250export SERVICE_NAME
@@ -326,6 +327,7 @@ export JWT_KID
326327export ROLE_ID
327328export USE_ZONE_APEX
328329export IS_PULL_REQUEST
330+ export FORWARD_CSOC_LOGS
329331
330332# variables needed for StatefulResourcesApp
331333CDK_APP_NAME=StatefulResourcesApp
You can’t perform that action at this time.
0 commit comments