Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 512 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 512 Bytes

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