Skip to content

Commit

Permalink
Change env vars names.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelconnor00 committed Feb 29, 2024
1 parent dfd417b commit 6a38955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
-
name: CDK synth
env:
CDK_DEFAULT_ACCOUNT: ${{ secrets.CDK_DEPLOY_ACCOUNT }}
CDK_DEFAULT_REGION: ${{ env.AWS_REGION }}
CDK_DEPLOY_ACCOUNT: ${{ secrets.CDK_DEPLOY_ACCOUNT }}
CDK_DEPLOY_REGION: ${{ env.AWS_REGION }}
run: cd iac/ && node_modules/aws-cdk/bin/cdk diff
4 changes: 2 additions & 2 deletions iac/bin/iac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ new IacStack(app, IacStack.stack_name, {
env: {
// region: app.node.tryGetContext("aws_region"),
// account: app.node.tryGetContext("aws_account"),
account: process.env.CDK_DEFAULT_ACCOUNT,
region: process.env.CDK_DEFAULT_REGION
account: process.env.CDK_DEPLOY_ACCOUNT,
region: process.env.CDK_DEPLOY_REGION
}
});

0 comments on commit 6a38955

Please sign in to comment.