@api3/airnode-deployer v0.15.0
@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:
- Install Terraform and make sure that the
terraformbinary is available in yourPATHenvironment variable. Make sure the version is compatible with the required_version of terraform modules used. - Prepare necessary cloud credentials. See the instructions in the docs.
- Make sure
config.jsonandsecrets.envare available in theconfigdirectory. You can use the provided exampleconfig.jsonandsecrets.envtemplates 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 configurationAfter you prepare the necessary deployment files, there are two options for running the CLI:
- Run
yarn cli ... - First build the package using
yarn build, then make the CLI binary executable by runningchmod +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.jsonto deploy or redeploy and useyarn airnode-deployer remove-with-receipt -r config/receipt.jsonto remove Airnode.
9 months ago
9 months ago
9 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago