Created
April 25, 2019 05:39
-
-
Save bentterp/d9e8dcc9d17bfcce87a7563a769e9070 to your computer and use it in GitHub Desktop.
My shortcut to get an up2date version of the AzureRM provider for Terraform 0.12 until the regular release flow is in place
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
#!/bin/bash | |
cd $GOPATH/src/github.com/terraform-providers | |
test -d terraform-provider-azurerm && rm -rf terraform-provider-azurerm | |
git clone https://github.com/terraform-providers/terraform-provider-azurerm.git | |
cd terraform-provider-azurerm | |
rm -rf vendor | |
govendor init | |
govendor fetch github.com/hashicorp/terraform/... | |
govendor fetch +m | |
go build | |
ln -sf $GOPATH/bin/terraform-provider-azurerm ~/.terraform.d/plugins/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment