Socket
Socket
Sign inDemoInstall

@api3/airnode-deployer

Package Overview
Dependencies
21
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @api3/airnode-deployer

> A CLI tool to automate Airnode deployment


Version published
Maintainers
5
Created

Readme

Source

@api3/airnode-deployer

A CLI tool to automate Airnode deployment

Documentation

You can find documentation on how to use the deployer in the deployer docs.

For developers

Build the docker image locally

To build the image follow these instructions.

Running the deployer CLI from source

Instructions on how to build and use the deployer CLI from source:

  1. Install Terraform and make sure that the terraform binary is available in your PATH environment variable. Make sure the version is compatible with the required_version of terraform modules used.
  2. Prepare necessary cloud credentials. See the instructions in the docs.
  3. Make sure config.json and secrets.env are available in the config directory. You can use the provided example config.json and secrets.env templates to get started quickly, but you will need to edit these with your own API details and secrets.
# From this package (/packages/airnode-deployer)
cp config/config.example.json config/config.json
cp config/secrets.example.env config/secrets.env
# Edit both `config.json` and `secrets.env` to reflect your configuration

After you prepare the necessary deployment files, there are two options for running the CLI:

  1. Run yarn cli ...
  2. First build the package using yarn build, then make the CLI binary executable by running chmod +x ./dist/bin/deployer.js. Next, use the following, which assumes the default file locations: yarn airnode-deployer deploy -c config/config.json -s config/secrets.env -r config/receipt.json to deploy or redeploy and use yarn airnode-deployer remove-with-receipt -r config/receipt.json to remove Airnode.

FAQs

Last updated on 29 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc