docs: Add missing Terraform plugin section for bare-metal

This commit is contained in:
Dalton Hubble 2017-09-18 22:34:44 -07:00
parent 7c733bd314
commit cd368c123f
1 changed files with 12 additions and 3 deletions

View File

@ -124,11 +124,20 @@ tar xzf terraform-provider-matchbox-v0.2.2-linux-amd64.tar.gz
sudo mv terraform-provider-matchbox-v0.2.2-linux-amd64/terraform-provider-matchbox /usr/local/bin/ sudo mv terraform-provider-matchbox-v0.2.2-linux-amd64/terraform-provider-matchbox /usr/local/bin/
``` ```
Add the plugin to your `~/.terraformrc`. Add the [terraform-provider-ct](https://github.com/coreos/terraform-provider-ct) plugin binary for your system.
```sh
wget https://github.com/coreos/terraform-provider-ct/releases/download/v0.2.0/terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
tar xzf terraform-provider-ct-v0.2.0-linux-amd64.tar.gz
sudo mv terraform-provider-ct-v0.2.0-linux-amd64/terraform-provider-ct /usr/local/bin/
```
Add the plugins to your `~/.terraformrc`.
``` ```
providers { providers {
ct = "/usr/local/bin/terraform-provider-matchbox" ct = "/usr/local/bin/terraform-provider-ct"
matchbox = "/usr/local/bin/terraform-provider-matchbox"
} }
``` ```
@ -140,7 +149,7 @@ cd infra/clusters
## Provider ## Provider
Configure the Matchbox provider to use your Matchbox API endpoint and client certificate. Configure the Matchbox provider to use your Matchbox API endpoint and client certificate in a `providers.tf` file.
```tf ```tf
provider "matchbox" { provider "matchbox" {