Skip to content

Commit 966b15f

Browse files
committed
fix: region
1 parent 743117c commit 966b15f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/aws-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
with:
5656
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
5757
role-session-name: GitHub_Action_LambdaPerf_Session
58-
aws-region: ${{ inputs.environment == 'DEV' && secrets.DEV_REGION || inputs.environment == 'PROD' && secrets.PROD_REGION }}
58+
aws-region: ${{ inputs.environment == 'DEV' && secrets.AWS_DEV_REGION || inputs.environment == 'PROD' && secrets.AWS_PROD_REGION }}
5959
- name: deploy
6060
env:
61-
AWS_REGION: ${{ inputs.environment == 'DEV' && secrets.DEV_REGION || inputs.environment == 'PROD' && secrets.PROD_REGION }}
61+
AWS_REGION: ${{ inputs.environment == 'DEV' && secrets.AWS_DEV_REGION || inputs.environment == 'PROD' && secrets.AWS_PROD_REGION }}
6262
LAMBDA_PERF_ENV: ${{ inputs.environment == 'PROD' && 'production' || 'dev' }}
6363
SKIP_SNAPSTART: ${{ (inputs.environment == 'DEV') && secrets.SKIP_SNAPSTART_DEV || 'false' }}
6464
GITHUB_AUTH_TOKEN: ${{ inputs.environment == 'PROD' && secrets.GH_AUTH_TOKEN || 'no-token-needed' }}

0 commit comments

Comments
 (0)