7.0.0 • Published 12 months ago

@pulasthibandara/nx-extend-terraform v7.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@nx-extend/terraform

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:

nametyperequireddefaultdescription
--namestringtrueTerraform project name
--directorystringfalseA directory where the project is placed, based on the sourceRoot
--tagsstringfalseemptyComma 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:

nametypedefaultdescription
7.0.0

12 months ago

6.0.6

1 year ago

6.0.5

1 year ago