Skip to content

Infrastructure As Code for JS applications on AWS with TypeScript

Notifications You must be signed in to change notification settings

zaqqaz/iac-talk-demo-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Infrastructure As Code for JS applications on AWS with TypeScript

Resources

Stars

Watchers

Forks