Skip to content

Commit

Permalink
feat: Specify stack environment
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Sep 20, 2023
1 parent fbf20c4 commit e0a45c0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions bin/hydro-survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,5 @@ import { HydroSurveyStack } from '../lib/hydro-survey-stack';

const app = new App();
new HydroSurveyStack(app, 'HydroSurveyStack', {
/* If you don't specify 'env', this stack will be environment-agnostic.
* Account/Region-dependent features and context lookups will not work,
* but a single synthesized template can be deployed anywhere. */
/* Uncomment the next line to specialize this stack for the AWS Account
* and Region that are implied by the current CLI configuration. */
// env: { account: process.env.CDK_DEFAULT_ACCOUNT, region: process.env.CDK_DEFAULT_REGION },
/* Uncomment the next line if you know exactly what Account and Region you
* want to deploy the stack to. */
// env: { account: '123456789012', region: 'us-east-1' },
/* For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html */
env: { account: process.env['CDK_DEFAULT_ACCOUNT'], region: process.env['CDK_DEFAULT_REGION'] },
});

0 comments on commit e0a45c0

Please sign in to comment.