0.1.0 • Published 2 years ago

@terraform-js/terraform-js v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

terraform-js

A lightweight Javascript wrapper library for Terraform Cli written in Typescript

NPM package link: terraform-js

Install the package:

npm i @terraform-js/terraform-js

Example:

import { Terraformer } from "@terraform-js/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.1.0

2 years ago

0.0.42

2 years ago

0.0.43

2 years ago

0.0.44

2 years ago

0.0.41

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.35

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago