1.0.7 • Published 7 years ago
terraformerjs v1.0.7
Terraformerjs
Usage
JS
'use strict'
const Terraformerjs = require('Terraformerjs')
const terraformer = new Terraformerjs({silent: true, location: './test/terraform'})
terraformer.init({options: {'plugin-dir': '~/go/bin/'}})
  .then(() => terraformer.plan())
  .then((data) => console.log(data))
  .catch((err) => console.log(err))Configuration
Terraformerjs Options
- options.terraform.location: 
- Location of the terraform binary to use when calling the commands
 
 - location: Location of the terraform files that you want to run the command against. Also the cwd for any of the calls being used.