@nx-extend/terraform
TypeScript icon, indicating that this package has built-in type declarations

6.0.0 • Public • Published

@nx-extend/terraform

@nx-extend/terraform NPM package

Nx plugin for deploying your resources with terraform.

Setup

This package expects Terraform to be already installed and available.

Install

npm install -D @nx-extend/terraform
nx g @nx-extend/terraform:init

Usage

Setup

nx g @nx-extend/terraform:init

Available options:

name type required default description
--name string true Terraform project name
--directory string false A directory where the project is placed, based on the sourceRoot
--tags string false empty Comma separated list for tags

Terraform execution

nx run <terraform-project-name>:initialize
nx run <terraform-project-name>:providers
nx run <terraform-project-name>:plan
nx run <terraform-project-name>:apply
nx run <terraform-project-name>:destroy
nx run <terraform-project-name>:validate
nx run <terraform-project-name>:test

Available options:

name type default description

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @nx-extend/terraform

    Weekly Downloads

    956

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    36.7 kB

    Total Files

    82

    Last publish

    Collaborators

    • tripss