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

@sofarocean/code-loft

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sofarocean/code-loft

Standard build script combining Terraform and custom pre- and post- deploy options

  • 0.1.5
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Usage

npx @sofarocean/code-loft deploy --terraform-dir <dirname> --pre-apply <script> --post-apply <script> --deploy-env dev

Running this command from your local machine or on a CICD server (such as with Github Actions) will:

  • Load environment variables from the corresponding .env file for your chosen deploy environment
  • Initialize Terraform and select a workspace corresponding to the chosen deploy environment.
  • Run your pre-apply script
  • Run terraform apply with the .tfvars corresponding to the chosen deploy environment
  • Run your post-apply script

In CI

When running on a CI server, you can set the -a option to auto-approve the Terraform changes.

FAQs

Package last updated on 01 Apr 2020

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