Files
ThunderCloud/bin/thundercloud.ts
2021-09-01 09:36:16 -04:00

24 lines
1.1 KiB
JavaScript

#!/usr/bin/env node
import 'source-map-support/register';
import * as cdk from '@aws-cdk/core';
import { LightningNode } from '../lib/lightningnode-stack';
const app = new cdk.App();
new LightningNode(app, 'ThundercloudStack', {
/* 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 */
});
// Here's an example of a second node. uncomment this and then run `cdk deploy SecondLightningNode`
// new LightningNode(app, 'SecondLightningNode', {stackName: "SecondLightningNode"});