Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Last active October 3, 2020 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrlesmithjr/5084d838288eb095b38fb1f884fea610 to your computer and use it in GitHub Desktop.
Save mrlesmithjr/5084d838288eb095b38fb1f884fea610 to your computer and use it in GitHub Desktop.
#! /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