0.1.5 • Published 8 years ago

hydraform v0.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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