Skip to content

Commit

Permalink
Setting LAYERZERO_CDK_DEPLOY_REGION env variable (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadChavosh authored Oct 16, 2024
1 parent de7ec15 commit 267cbd7
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 267cbd7

Please sign in to comment.