Skip to content

Instantly share code, notes, and snippets.

@kvgr-ru
Created February 15, 2019 21:30
Show Gist options
  • Save kvgr-ru/1e5a5bf644b51346b06c16974a095a5f to your computer and use it in GitHub Desktop.
Save kvgr-ru/1e5a5bf644b51346b06c16974a095a5f to your computer and use it in GitHub Desktop.

Revisions

  1. kvgr-ru created this gist Feb 15, 2019.
    23 changes: 23 additions & 0 deletions Terraform-vscale.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    # Terraform vscale Provider plugin


    *Requirements*
    ------------

    - [Terraform](https://www.terraform.io/downloads.html) 0.10.x
    - [Go](https://golang.org/doc/install) 1.8 (to build the provider plugin). On Ubuntu it's possibly to install package golang from Ubuntu repository, on Centos 7 - package golang from epel repository.

    *Building The plugin*
    ---------------------

    * export PATH=$PATH:$(go env GOPATH)/bin
    * export GOPATH=$(go env GOPATH)
    * export PROVIDER_NAME=vscale
    * mkdir -p $GOPATH/src/github.com/terraform-providers
    * cd $GOPATH/src/github.com/terraform-providers
    * git clone https://github.com/burkostya/terraform-provider-vscale.git
    * cd $GOPATH/src/github.com/terraform-providers/terraform-provider-vscale
    * go get
    * go build
    * mkdir -p ~/.terraform.d/plugins/
    * mv $GOPATH/bin/terraform-provider-vscale ~/.terraform.d/plugins/