Created
February 15, 2019 21:30
-
-
Save kvgr-ru/1e5a5bf644b51346b06c16974a095a5f to your computer and use it in GitHub Desktop.
Revisions
-
kvgr-ru created this gist
Feb 15, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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/