Skip to content

A Haskell ADL to generate terraform files.

License

Notifications You must be signed in to change notification settings

Atidot/terraform-hs

This branch is 3 commits ahead of gwils/terraform-hs:master.

Folders and files

NameName
Last commit message
Last commit date
Jun 14, 2017
Aug 20, 2018
Nov 20, 2019
Oct 18, 2017
Jan 4, 2017
Jan 5, 2017
Jan 4, 2017
Nov 17, 2019
Nov 20, 2019

Repository files navigation

terraform-hs

A haskell EDSL for generating terraform infrastructure specifications.

The terraform system has some nice properties (an excellent workflow, support for many resource types over multiple cloud providers), but as a programming language it has very limited data structures and abstraction cababilities. With this library one can leverage haskell abstractions to specifying infrastructure, whilst relying on terraforms excellent features.

The terraform "API" is very broad, supporting hundreds of resource types accross multiple cloud providers. By its nature a haskell wrapping of this is involves significant boilerplate. This boilerplate is generated from an API specification.

Currently only a small subset of the AWS API is implemented, though the addition of other resources and providers should be straightforward.

The examples directory illustrates API usage.

About

A Haskell ADL to generate terraform files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 100.0%