Skip to content

Terraform repository to create and deploy lambda function with cognito

Notifications You must be signed in to change notification settings

Clauber-camilo/cdktf-lamda-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title: Lambda Authentication with Cognito using Terraform CDK

This project uses the Cloud Development Kit for Terraform (CDKTF) to deploy an AWS Lambda function integrated with Amazon Cognito for user authentication.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js
  • AWS CLI
  • Terraform
  • CDK for Terraform CLI

Installation

  1. 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
  1. Compile the TypeScript application:
cd lambda-auth
npm install
npm run build
  1. Install the dependencies to cdktf:
cd ..
cd cdktf
npm install
  1. Generate Terraform configuration:
cdktf get
  1. Deploy the stack:
cdktf deploy

Usage

After deployment, you can use the AWS Lambda function with Cognito for user authentication.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • AWS CDKTF
  • AWS Lambda
  • Amazon Cognito

Contact

If you have any questions, feel free to reach out to us.

About

Terraform repository to create and deploy lambda function with cognito

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published