Nx plugin for deploying your resources with terraform.
This package expects Terraform to be already installed and available.
npm install -D @nx-extend/terraform
nx g @nx-extend/terraform:init
nx g @nx-extend/terraform:init
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 |
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
name | type | default | description |
---|