Created
March 1, 2022 21:15
-
-
Save cagingulsen/ff2ca44da00d65ec6dc384d83829b4c7 to your computer and use it in GitHub Desktop.
for Production-Ready CDK - CDK Pipelines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { App } from 'aws-cdk-lib'; | |
| import { CdkPipelineStack } from './cdk-pipeline-stack'; | |
| // for development, use account/region from cdk cli | |
| const devEnv = { | |
| account: process.env.CDK_DEFAULT_ACCOUNT, | |
| region: process.env.CDK_DEFAULT_REGION, | |
| }; | |
| const app = new App(); | |
| new CdkPipelineStack(app, 'CdkPipelineStack', { env: devEnv }); | |
| app.synth(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment