hydraform

0.1.5 • Public • Published

hydraform

Build status Git tag NPM version Code style

Build tool and npm module management for terraform.

Installation

$ npm install hydraform -g

Setup

Create a module by running npm init and then placing terraform files in a hydra directory. Then just use npm to install modules.

Build step

Hydraform builds [name].tf.js files that export an object into [name]_override.tf.json files. .tf.js can embed functions in the object. These functions are passed the opts that are passed to hydraform. The hydra directory along with the built files is place in the hydra_modules directory.

Usage

In any directory with a hydra dir a package.json you can run.

terraform apply $(hydraform)

API

hydraform(module, opts)

  • module - npm module name for a hydra package to include
  • opts - options to pass to .tf.js files in hydra directory

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i hydraform

Weekly Downloads

0

Version

0.1.5

License

MIT

Last publish

Collaborators

  • joshrtay