This project uses the Cloud Development Kit for Terraform (CDKTF) to deploy an AWS Lambda function integrated with Amazon Cognito for user authentication.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- AWS CLI
- Terraform
- CDK for Terraform CLI
- Clone the repository:
git clone https://github.com/Clauber-camilo/cdktf-lamda-auth.git```
2. Navigate to the project directory:
```bash
cd cdktf-lamd-auth
- Compile the TypeScript application:
cd lambda-auth
npm install
npm run build
- Install the dependencies to cdktf:
cd ..
cd cdktf
npm install
- Generate Terraform configuration:
cdktf get
- Deploy the stack:
cdktf deploy
After deployment, you can use the AWS Lambda function with Cognito for user authentication.
This project is licensed under the MIT License - see the LICENSE.md
file for details.
- AWS CDKTF
- AWS Lambda
- Amazon Cognito
If you have any questions, feel free to reach out to us.