Created
July 7, 2019 06:05
-
-
Save vsc1t/8fbf37a46453da99477f039e1c3e39b9 to your computer and use it in GitHub Desktop.
Terraform add vscale provider
This file contains 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 characters
#!/usr/bin/env bash | |
# Automatic install vscale provider for terraform | |
# GOPATH should be configured before launch | |
source ~/.profile | |
sudo apt-get update && sudo apt-get install git -y && \ | |
mkdir -p "$GOPATH"/src/github.com/terraform-providers/terraform-provider-vscale && \ | |
git clone https://github.com/burkostya/terraform-provider-vscale.git \ | |
"$GOPATH"/src/github.com/terraform-providers/terraform-provider-vscale && \ | |
cd "$GOPATH"/src/github.com/terraform-providers/terraform-provider-vscale && \ | |
go get ./... && go build && mkdir -p ~/.terraform.d/plugins && \ | |
mv -f "$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