Thanks to visit codestin.com
Credit goes to github.com

Skip to content

c6fc/terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@c6fc/terraform

Link and use the Terraform binary with NPM.

Usage

npm install -p @c6fc/terraform

Set the tf_version config element in your package.json:

"config": {
	"tf_version": "0.15.4"
}
const terraform = require('@c6fc/terraform'); // Install and link Terraform 0.15.4

console.log(terraform); 

/* {
	cacheDir: <path to terraform cache>
	version: <the version of Terraform that's loaded>
	executablePath: <the path to the terraform executable>
} */

I created this package specifically for use with Sonnetry (@c6fc/sonnetry), but perhaps someone else will find it useful.

About

Install and use Terraform with NPM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published