diff --git a/cdk/gasolina/constants/envVariables/index.ts b/cdk/gasolina/constants/envVariables/index.ts index 0d68dc3..8d1fb74 100644 --- a/cdk/gasolina/constants/envVariables/index.ts +++ b/cdk/gasolina/constants/envVariables/index.ts @@ -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', } diff --git a/cdk/gasolina/lib/gasolinaApi.ts b/cdk/gasolina/lib/gasolinaApi.ts index 0baf2f6..9b60db7 100644 --- a/cdk/gasolina/lib/gasolinaApi.ts +++ b/cdk/gasolina/lib/gasolinaApi.ts @@ -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']),