Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loft-orbital/terraform

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loft-orbital/terraform

Nx plugin to use Terraform in a Nx workspace.

  • 0.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
55
decreased by-62.07%
Maintainers
2
Weekly downloads
 
Created
Source

terraform

Nx plugin to use Terraform in a Nx workspace.

Quickstart

Create your Nx Workspace:

npx create-nx-workspace@latest my-org --preset=empty --cli=nx

Then install terraform plugin:

npm install --save-dev @loft-orbital/terraform

Finally you can generate a new lib or project:

# library
nx g @loft-orbital/terraform:lib
# project
nx g @loft-orbital/terraform:project

Executing

Library

Libraries are terraform modules you don't intend to deploy directly. As such they do not come with plan or apply executors.

# Run terraform fmt -check
npx nx lint lib
# Run terraform validate
npx nx validate lib

Project

Projects are terraform modules you do intend to deploy. In addition to lint and validate executor, they come with plan and apply

# Run terraform fmt -check
npx nx lint project
# Run terraform validate
npx nx validate project
# Run terraform plan
npx nx plan project
# Run terraform apply
npx nx apply project

FAQs

Package last updated on 22 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc