Coder Social home page Coder Social logo

terrastackio / terrastack Goto Github PK

View Code? Open in Web Editor NEW
75.0 8.0 1.0 5.18 MB

This project is archived, but the idea of Terrastack lives on in the Terraform CDK. - https://github.com/hashicorp/terraform-cdk

Home Page: https://terrastack.io

JavaScript 0.12% TypeScript 96.70% Shell 3.18%
terraform aws-cdk jsii aws azure google-cloud polyglot typescript python

terrastack's Introduction

Terrastack is now Terraform CDK

This project is archived, but the idea of Terrastack lives on in the Terraform CDK.


Terrastack - Polyglot Terraform supercharged by the CDK

Terrastack enables you to keep using Terraform as engine, while defining your resources in actual programming languages such as Typescript, Python, Java or C# - with more to come (perhaps Ruby?).

This is made possible by the Cloud Development Kit (CDK) and jsii for generating the polyglot libraries. While the major use-case for the CDK is generating Cloudformation configuration as YAML, it's capable of generating pretty much any configuration.

Applying it Terraform was inspired by the release of cdk8s, which also paved the way for rapid progress towards a working Terraform version.

terrastack

How does it work?

Terrastack makes use of the following things:

With that, we're able to generate packages for any given Terraform provider in the following languages:

  • Typescript (tested)
  • Python (tested)
  • C# (yet to test)
  • Java (yet to test)

Current Status

In the current state, this is mostly a prototype. It demonstrates that it's possible and quite useful to leverage the CDK. Interfaces and Apis will certainly change and there are still some problems to solve.

However, it's possible to generate full bindings for a given Terraform provider (tested with AWS and Google Cloud so far).

Roadmap

  • Generate Terraform constructs (Level 1 in CDK speak) from the Terraform JSON schema
  • Build Terraform stacks out of those resources in Typescript, Python, Java or C#
  • Reference resources within a stack
  • Synthesize valid Terraform JSON which is plannable and applyable
  • Leverage existing CDK packages which are not bound to cloudformation directly, such as global tagging or an IAM Policy builder
  • Improve developer experience
  • Multiple Stacks with individual state
  • Input Variables
  • Outputs
  • Remote State
  • Pregenerate schemas for Terraform Providers
  • Built-in functions
  • Generic resource features such as lifecycles and dependencies
  • Modules
  • Dynamic blocks
  • count / for each
  • Assets
  • Converting HCL to Terrastack resources
  • Publish easy consumable packages for providers and open source modules
  • Better Terraform integration
  • Unit / Integration test examples
  • More examples

Author

terrastack's People

Contributors

skorfmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jsteinich

terrastack's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.