0.0.23 • Published 2 years ago
@pnjha/terraform-js v0.0.23
terraform-js
A lightweight Javascript wrapper library for Terraform Cli written in Typescript
NPM package link: https://www.npmjs.com/package/@pnjha/terraform-js
Install the package:
npm i @pnjha/terraform-js
Example:
import { Terraformer } from "@pnjha/terraform-js";
const config = {
logLevel: 'INFO', // supported values: TRACE, DEBUG, INFO, WARN or ERROR. Default is INFO
workspace: 'default', // workspace name if you want to create a new workspace. Default workspace is 'default'
pluginDirectory: null, // directory where you want to install terraform provider plugin
templateDirectory: '.', // directory where terraform templates are present
workingDirectory: '.' // directory where tf state file will be generated
}
const tf = new Terraformer(config);
tf.apply().then().catch((err)=>{
console.log(err);
});
All contributions to this repo are welcomed in form of issues and PRs
0.0.21
2 years ago
0.0.22
2 years ago
0.0.11
2 years ago
0.0.23
2 years ago
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago