Skip to content

Commit

Permalink
Setting LAYERZERO_CDK_DEPLOY_REGION env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadChavosh committed Oct 16, 2024
1 parent de7ec15 commit 4362386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cdk/gasolina/constants/envVariables/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export const ENV_VAR_NAMES = {
LZ_KMS_CLOUD_TYPE: 'KMS_CLOUD_TYPE',
LZ_KMS_IDS: 'LAYERZERO_KMS_IDS',
LZ_EXTRA_CONTEXT_REQUEST_URL: 'EXTRA_CONTEXT_REQUEST_URL',
LZ_CDK_DEPLOY_REGION: 'LAYERZERO_CDK_DEPLOY_REGION',
}
1 change: 1 addition & 0 deletions cdk/gasolina/lib/gasolinaApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const createGasolinaService = (props: CreateGasolinaServiceProps) => {
environment: {
NPM_TOKEN: 'foobar',
[ENV_VAR_NAMES.LZ_ENV]: props.environment,
[ENV_VAR_NAMES.LZ_CDK_DEPLOY_REGION]: props.stack.region,
SIGNER_TYPE: props.signerType,
SERVER_PORT: '8081',
[ENV_VAR_NAMES.LZ_SUPPORTED_ULNS]: JSON.stringify(['V2']),
Expand Down

0 comments on commit 4362386

Please sign in to comment.