Skip to content

timbod7/terraform-hs

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published