From cd368c123fa50f5e98badb55cb1c11d41f4689f6 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Mon, 18 Sep 2017 22:34:44 -0700 Subject: [PATCH] docs: Add missing Terraform plugin section for bare-metal --- docs/bare-metal.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/bare-metal.md b/docs/bare-metal.md index da43efd0..e70c180a 100644 --- a/docs/bare-metal.md +++ b/docs/bare-metal.md @@ -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/ ``` -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 { - 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 -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 provider "matchbox" {