CDKTN app that deploys a Lambda function written in TypeScript in a way similar to AWS CDK NodejsFunction construct.
- AWS:
- Must have authenticated with Default Credentials in your local environment.
- mise:
- Install mise, which manages Node, pnpm, and OpenTofu.
mise install
pnpm install
pnpm genpnpm gen generates the AWS and node-lambda-packager constructs into .gen/. Re-run it whenever a provider constraint in cdktf.json changes.
pnpm deploypnpm destroy