Skip to content

albankora/aws-with-terraform-and-typescript

Repository files navigation

AWS Services with Terraform and Typescript

Description

This is a demo repo on seting up different AWS services with Terraform and writing lambdas in Typescript. The AWS services incuded are AWS SQS, AWS EventBridge, AWS Kinesis, AWS DynamoDB, AWS API Gateway and AWS Lambda.

It is assumed that Terraform and Nodejs is already installed on your computer and that you can deploy to an AWS Account using Terraform.

Architecture

Architecture

Install packages

$ npm i

Terraform apply

$ npm run apply # runs terraform init, format, validate, plan and apply

Deploying

$ npm run deploy # builds the code and runs terraform apply command

Destroying

$ npm run tf:destroy

Testing

$ npm run test

Terrafor Commands

$ npm run tf:init      # terraform init
$ npm run tf:fmt       # terraform format
$ npm run tf:validate  # terraform validate
$ npm run tf:plan      # terraform plan
$ npm run tf:apply     # terraform apply
$ npm run tf:destroy   # terraform destroy

About

Multiple AWS services with Terraform and Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published