1.4 KiB
Install Terraform
The Terraform documentation has installation instructions for all common operating systems.
Note: Hashicorp (the company behind Terraform) will try to convince you that running Terraform on their servers (inside Atlas) would be great. While that might be true for many, it is not true for BigchainDB. BigchainDB federations are supposed to be decentralized, and if everyone used Atlas, that would be a point of centralization. If you don't want to run Terraform on your local machine, you could install it on a cloud machine under your control (e.g. on AWS).
Ubuntu Installation Tips
If you want to install Terraform on Ubuntu, first download the .zip file. Then install it in /opt
:
sudo mkdir -p /opt/terraform
sudo unzip path/to/zip-file.zip -d /opt/terraform
Why install it in /opt
? See the answers at Ask Ubuntu.
Next, add /opt/terraform
to your path. If you use bash for your shell, then you could add this line to ~/.bashrc
:
export PATH="/opt/terraform:$PATH"
After doing that, relaunch your shell or force it to read ~/.bashrc
again, e.g. by doing source ~/.bashrc
. You can verify that terraform is installed and in your path by doing:
terraform --version
It should say the current version of Terraform.