Skip to content
A collection of useful Terraform utilities
Branch: master
Clone or download
Latest commit 68ed325 May 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Test improvements Jan 8, 2019
examples Make testing more robust Apr 19, 2019
modules Make testing more robust Apr 19, 2019
test Make testing more robust Apr 19, 2019
.gitignore
CODEOWNERS Add CODEOWNERS Feb 14, 2019
CONTRIBUTING.md
LICENSE.txt Prep repo for open source May 2, 2019
NOTICE Add NOTICE May 2, 2019
README.md Add NOTICE May 2, 2019

README.md

Maintained by Gruntwork.io

Terraform Utility Modules

This repo contains miscellaneous utility and helper modules for use with Terraform.

What is in this repo

This repo provides a Gruntwork IaC Package and has the following folder structure:

  • modules: This folder contains the main implementation code for this repository, broken down into multiple standalone modules.
  • examples: This folder contains examples of how to use the modules.
  • test: Automated tests for the modules and examples.

The following modules are available:

  • intermediate-variable: A simple module that returns as output the exact variables you pass to it as inputs. This gives you a way to store intermediate values that contain interpolations.
  • join-path: This module can be used to join a list of given path parts into a single path that is platform/operating system aware. (This module requires Python)
  • operating-system: This module can be used to figure out what operating system is being used to run Terraform. (This module requires Python)
  • require-executable: This is a module that can be used to ensure particular executables is available in the PATH. (This module requires Python)
  • run-pex-as-data-source: This module prepares a portable environment for running PEX files and runs them as an external data source. PEX files are python executables that contain all the requirements necessary to run the script. (This module requires Python)
  • run-pex-as-resource: This module prepares a portable environment for running PEX files and runs them as an local-exec provisioner on a null_resource. PEX files are python executables that contain all the requirements necessary to run the script. (This module requires Python)

Click on each module above to see its documentation. Head over to the examples folder for example usage.

What is a module?

A Module is a canonical, reusable, best-practices definition for how to run a single piece of infrastructure, such as a database or server cluster. Each Module is written using a combination of Terraform and scripts (mostly bash) and include automated tests, documentation, and examples. It is maintained both by the open source community and companies that provide commercial support.

Instead of figuring out the details of how to run a piece of infrastructure from scratch, you can reuse existing code that has been proven in production. And instead of maintaining all that infrastructure code yourself, you can leverage the work of the Module community to pick up infrastructure improvements through a version number bump.

Who maintains this Module?

This Module is maintained by Gruntwork. If you're looking for help or commercial support, send an email to modules@gruntwork.io. Gruntwork can help with:

  • Setup, customization, and support for this Module.
  • Modules for other types of infrastructure, such as VPCs, Docker clusters, databases, and continuous integration.
  • Modules that meet compliance requirements, such as HIPAA.
  • Consulting & Training on AWS, Terraform, and DevOps.

How is this Module versioned?

This Module follows the principles of Semantic Versioning. You can find each new release, along with the changelog, in the Releases Page.

During initial development, the major version will be 0 (e.g., 0.x.y), which indicates the code does not yet have a stable API. Once we hit 1.0.0, we will make every effort to maintain a backwards compatible API and use the MAJOR, MINOR, and PATCH versions on each release to indicate any incompatibilities.

License

Please see LICENSE.txt and NOTICE for details on how the code in this repo is licensed.

You can’t perform that action at this time.