Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.64 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.64 KB

Infrastructure As Code for JS applications on AWS with TypeScript

Demo for the conference talk.

Complete infrastructure

Pre-requirement

Infrastructure managed by Terraform

From the terraform directory (cd terraform) you can run:

  • yarn get to fetch TF modules and typings
  • yarn build to build typescript and fetch TF modules
  • yarn watch to build typescript in watch mode (note: to fetch modules run yarn get)
  • yarn synth to generate cdk.tf.json used by terraform cli

From cdktf.out directory (cd cdktf.out)

  • terraform init to initialize terraform project
  • terraform plan to create an execution plan
  • terraform apply to apply the changes required to reach the desired state of the configuration
  • terraform destroy to destroy the Terraform-managed infrastructure

Available Scripts for the client app

This project was bootstrapped with Create React App.

  • yarn start
  • yarn test
  • yarn build