Skip to content

Files

Latest commit

Jul 11, 2020
7969da3 · Jul 11, 2020

History

History
This branch is 38 commits ahead of, 1 commit behind TerraStackIO/terrastack:master.

simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 11, 2020
Jul 11, 2020
Mar 11, 2020
Jun 28, 2020
Mar 11, 2020
Jun 27, 2020

Simple Typescript Example

This demonstrates a simple example based on Typescript. For convenience, the current Terraform AWS provider schema is commited under ./.schema/aws-provider.json

Getting started

Make sure to run yarn && yarn build in the root directory of the project

yarn
terrastack import -i .schema/aws-provider.json
yarn build
node stacks/simple.js
cat dist/mys3bucketstack.tf.json
cd dist
terraform init
terraform plan