https://github.com/garysassano/cdktf-aws-nodejs-function-ts
CDKTF app that deploys a Lambda function written in TypeScript in a way similar to AWS CDK NodejsFunction construct
https://github.com/garysassano/cdktf-aws-nodejs-function-ts
aws-lambda cdk-for-terraform cdktf cdktf-ts lambda-ts node-lambda terraform-cdk ts-lambda typescript
Last synced: about 2 months ago
JSON representation
CDKTF app that deploys a Lambda function written in TypeScript in a way similar to AWS CDK NodejsFunction construct
- Host: GitHub
- URL: https://github.com/garysassano/cdktf-aws-nodejs-function-ts
- Owner: garysassano
- License: apache-2.0
- Created: 2024-04-04T02:18:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-29T07:30:05.000Z (5 months ago)
- Last Synced: 2025-01-31T13:14:15.417Z (4 months ago)
- Topics: aws-lambda, cdk-for-terraform, cdktf, cdktf-ts, lambda-ts, node-lambda, terraform-cdk, ts-lambda, typescript
- Language: TypeScript
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdktf-aws-nodejs-function-ts
CDKTF app that deploys a Lambda function written in TypeScript in a way similar to AWS CDK [NodejsFunction](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda_nodejs.NodejsFunction.html) construct.
## Prerequisites
- **_AWS:_**
- Must have authenticated with [Default Credentials](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration) in your local environment.
- **_Terraform:_**
- Must be [installed](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli#install-terraform) in your system.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.## Installation
```sh
npx projen install
```## Deployment
```sh
npx projen deploy
```## Cleanup
```sh
npx projen destroy
```