a working deployment cdk

This commit is contained in:
Matthew Zhao
2021-03-03 17:26:49 -08:00
parent 9b1a240837
commit 1dd1969ac8
3 changed files with 42 additions and 6 deletions
+3 -2
View File
@@ -3,5 +3,6 @@ import 'source-map-support/register';
import * as cdk from '@aws-cdk/core';
import { DeployStack } from '../lib/deploy-stack';
const app = new cdk.App();
new DeployStack(app, 'DeployStack');
let app = new cdk.App();
// replace them with HostedZoneID in route53, the domain name for the localtunnel, and the hosted zone domain
new DeployStack(app, 'DeployStack', process.env.LOCALTUNNEL_ROUTE53_ID as string , process.env.LOCALTUNNEL_BASE_DOMAIN as string);