Created
March 28, 2020 22:31
-
-
Save vidhyachari/636ff0c07d09e5fda829d3d6d9c8f802 to your computer and use it in GitHub Desktop.
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
# Script to download custom/third party tf plugin and place it inside the terraform plugins directory | |
FILE=terraform_provider_xxxxx_v0.1.1_x4 | |
if [ ! -f "$FILE" ]; then | |
cd /home/atlantis/.terraform.d/plugins | |
wget https://github.com/xxxxxx/terraform-provider-xxxxx/releases/download/v0.1.1/linux_amd64.zip -O tmp.zip && unzip -o tmp.zip && rm tmp.zip | |
cd /home/atlantis/.terraform.d/plugins/linux_amd64 | |
mv terraform-provider-xxxxx terraform-provider-xxxxx_v0.6.1_x4 | |
else | |
echo "$FILE exists" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment