Skip to content

Instantly share code, notes, and snippets.

@cagingulsen
Created March 1, 2022 21:15
Show Gist options
  • Select an option

  • Save cagingulsen/ff2ca44da00d65ec6dc384d83829b4c7 to your computer and use it in GitHub Desktop.

Select an option

Save cagingulsen/ff2ca44da00d65ec6dc384d83829b4c7 to your computer and use it in GitHub Desktop.
for Production-Ready CDK - CDK Pipelines
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