Skip to content

Commit

Permalink
VA-411-1-3: Use current CSC Java system properties when running in AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
anttu committed Jun 5, 2024
1 parent cd7ccaa commit b9ae062
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdk/lib/va-service-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ export class VaServiceStack extends cdk.Stack {
},
containerName: CONTAINER_NAME,
environment: {
JAVA_TOOL_OPTIONS:
'-Dlog4j2.formatMsgNoLookups=true -Dfile.encoding=UTF-8 -Djava.awt.headless=true',
DB_HOSTNAME: databaseHostname,
HEADLESS: 'true',
config: `config/aws-${scope.env}.edn`,
Expand Down

0 comments on commit b9ae062

Please sign in to comment.