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.
Intstall Terraform vscale Provider plugin

Terraform vscale Provider plugin

Requirements

  • Terraform 0.10.x
  • Go 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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment