brew install terraform
- https://brewformulas.org/Terraform
- Download the terraform binary - https://www.terraform.io/downloads.html
- Make sure is available on the PATH. You need to add it to your ~/.profile or ~/.bashrc file.
export PATH="$PATH:/path/to/terraform"
- Then update
source ~/.profile or source ~/.bashrc
brew install go
- https://formulae.brew.sh/formula/go
- Use tarballs - https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz
Create your kaleido account in EU region, Get started
Create a New API KEY
- Export both the API URL and the API KEY as follows
export TF_VAR_kaleido_api=https://console-eu.kaleido.io/api/v1
export TF_VAR_kaleido_api_key=<YOUR-KEY>
git clone git@github.com:kaleido-io/terraform-provider-kaleido.git
go build -o terraform-provider-kaleido
chmod +x terraform-provider-kaleido
mv terraform-provider-kaleido ~/.terraform.d/plugins/
- Clone this repo and run
terraform init #You should have the `main.tf` in your current repository.
terraform plan
terraform apply