terraform_javascript_interface

1.0.8 • Public • Published

terraform_javascript_interface

Interface for call terraform from your nodejs proyect, for example you can call apply or destroy terraform command from express or any event

Requisites

  • ansible 2.5.1 or above
  • copy your terraform project files to folder node_modules/terraform_javascript_interface/shared

Install

npm i terraform_javascript_interface

Usage

const instanceTerraForm = require('terraform_javascript_interface')

instanceTerraForm('destroy').then(data=>{
    console.log(data)
})

instanceTerraForm('apply').then(data=>{
    console.log(data)
})

License

MIT

Package Sidebar

Install

npm i terraform_javascript_interface

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

5.12 kB

Total Files

8

Last publish

Collaborators

  • jasser.garcia