Skip to content

Testing terraform with AWS (Lambda and DynamoDB) and TypeScript

Notifications You must be signed in to change notification settings

paciops/tf-lambda-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-lambda-ts

Testing terraform with AWS (Lambda and DynamoDB) and TypeScript.

Basic lambda function that store the IP address into DynamoDB.

The main purpose is testing Terraform.

Requirements

  • node
  • npm
  • terraform

Build

To transpile .ts code into .js use:

npm run build

node_modules folder is copied into dist in order to zip dist folder and push it into S3 (needed by Lambda).

To initialize terraform use:

terraform init

and deploy with:

terraform apply

About

Testing terraform with AWS (Lambda and DynamoDB) and TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published