# terraformerjs

> A wrapper around the terraform cli. Currently implemented the init, apply a

Latest version **1.0.7** (published 2018-09-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install terraformerjs
pnpm add terraformerjs
yarn add terraformerjs
bun add terraformerjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2018-09-17 |
| First published | 2018-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 9.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jordan Dziat |
| Maintainers | jdziat |
| Keywords | terraform, kubernetes, devops |

## Links

- npm: https://www.npmjs.com/package/terraformerjs
- npm.io page: https://npm.io/package/terraformerjs

## Dependencies (3)

- [lodash](https://npm.io/package/lodash.md) ^4.17.10
- [shelljs](https://npm.io/package/shelljs.md) ^0.8.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.7 (latest) — 2018-09-17
- 1.0.6 — 2018-09-13
- 1.0.5 — 2018-09-09

## README

# Terraformerjs
<p align="center">
  <a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="Standard - JavaScript Style Guide"></a>
</p>
A wrapper around the terraform cli. Currently implemented the init, apply and plan calls.

## Usage

### JS
```js
'use strict'
const Terraformerjs = require('Terraformerjs')
const terraformer = new Terraformerjs({silent: true, location: './test/terraform'})

terraformer.init({options: {'plugin-dir': '~/go/bin/'}})
  .then(() => terraformer.plan())
  .then((data) => console.log(data))
  .catch((err) => console.log(err))

```

## Configuration

Terraformerjs Options
- options.terraform.location: 
    - Location of the terraform binary to use when calling the commands
- location: Location of the terraform files that you want to run the command against. Also the cwd for any of the calls being used.

---
_Source: https://npm.io/package/terraformerjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
