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

View File

@@ -12,3 +12,7 @@ The `cdk.json` file tells the CDK Toolkit how to execute your app.
* `cdk deploy` deploy this stack to your default AWS account/region
* `cdk diff` compare deployed stack with current state
* `cdk synth` emits the synthesized CloudFormation template
## configuration, please set them as env var
* `LOCALTUNNEL_BASE_DOMAIN` the base domain for the localtunnel server, must be a root domain like example.com
* `LOCALTUNNEL_ROUTE53_ID` the ID of the route53 hosted zone for the domain