Last active
October 3, 2020 02:29
-
-
Save mrlesmithjr/5084d838288eb095b38fb1f884fea610 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
#! /usr/bin/env bash | |
# Currently only works with Terraform versions up to 0.12.29 | |
set -e | |
# Clone the repository | |
git clone https://github.com/Telmate/terraform-provider-proxmox | |
# Go Install the provider and provisioner (requires a working Golang installation) | |
cd terraform-provider-proxmox | |
go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox | |
go install github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provisioner-proxmox | |
# Run the Makefile | |
make | |
# Create the Terraform plugins directory and move the generated plugins to it | |
mkdir ~/.terraform.d/plugins | |
cp bin/terraform-provider-proxmox ~/.terraform.d/plugins | |
cp bin/terraform-provisioner-proxmox ~/.terraform.d/plugins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment