deploy-time-build
Version:
Build during CDK deployment.
19 lines (15 loc) • 450 B
Markdown
## How to Deploy
```sh
# Assume current directory is the example directory
cd ../lambda/trigger-codebuild
npm ci
npm run build
cd -
npx cdk deploy NodejsTestStack
npx cdk deploy SociIndexTestStack
npx cdk deploy ContainerImageTestStack
```
## Description
After a successful deployment, you will get a CloudFront URL from the stack output.

You can see the API endpoint is successfully injected to the sample frontend app.