Skip to content

Instantly share code, notes, and snippets.

@cagdas1
Last active February 16, 2020 18:45
Show Gist options
  • Save cagdas1/a6624b53a7d1cffff63ed6fa394eb1b7 to your computer and use it in GitHub Desktop.
Save cagdas1/a6624b53a7d1cffff63ed6fa394eb1b7 to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
import 'source-map-support/register';
import * as cdk from '@aws-cdk/core';
import { MyEc2AppStack } from '../lib/my-ec2-app-stack';
const app = new cdk.App();
new MyEc2AppStack(app, 'MyEc2AppStack', {
env: {
region: process.env.AWS_REGION,
account: process.env.ACCOUNT_ID
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment