0.0.23 • Published 12 months 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
12 months ago
0.0.22
12 months ago
0.0.11
12 months ago
0.0.23
12 months ago
0.0.12
12 months ago
0.0.13
12 months ago
0.0.14
12 months ago
0.0.15
12 months ago
0.0.16
12 months ago
0.0.17
12 months ago
0.0.18
12 months ago
0.0.19
12 months ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago