Skip to content

Instantly share code, notes, and snippets.

@mjzone
Created June 12, 2021 18:00
Show Gist options
  • Save mjzone/b75d43dc09995e1456ed57f2e7296ab4 to your computer and use it in GitHub Desktop.
Save mjzone/b75d43dc09995e1456ed57f2e7296ab4 to your computer and use it in GitHub Desktop.
import * as cdk from '@aws-cdk/core';
import { FargateDemoStack } from '../lib/fargate';
import { CloudfrontDemoStack } from '../lib/cloudfront';
const app = new cdk.App();
// FargateDemoStack
new FargateDemoStack(app, "FargateDemoStack", {
env: { account: "123456789", region: "eu-central-1" },
});
// CloudfrontDemoStack
new CloudfrontDemoStack(app, "CloudfrontDemoStack", {
stage: "prod",
env: { account: "123456789", region: "eu-central-1" },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment