Changeset View
Changeset View
Standalone View
Standalone View
proxmox/terraform/prepare-workstation.md
This is the required tooling for the following to work. | This is the required tooling for the following to work. | ||||
# terraform-provider-proxmox | # terraform-provider-proxmox | ||||
go module to install | go module to install | ||||
``` | ``` | ||||
git clone https://github.com/Telmate/terraform-provider-proxmox | git clone https://github.com/Telmate/terraform-provider-proxmox | ||||
cd terraform-provider-proxmox | cd terraform-provider-proxmox | ||||
# compile terraform proxmox provider | # compile terraform proxmox provider | ||||
export GOPATH=`pwd` | export GOPATH=`pwd` | ||||
make setup | make setup | ||||
make | make | ||||
make install | make install | ||||
# Install so that terrafor actually sees the plugin | # Install so that terraform actually sees the plugin | ||||
mkdir -p ~/.terraform.d/plugins/linux_amd64 | mkdir -p ~/.terraform.d/plugins/linux_amd64 | ||||
cp -v ./bin/* ~/.terraform.d/plugins/linux_amd64/ | cp -v ./bin/* ~/.terraform.d/plugins/linux_amd64/ | ||||
``` | ``` | ||||
At the end of this, `terraform init` within /proxmox/terraform/ should now | At the end of this, `terraform init` within /proxmox/terraform/ should now | ||||
work. | work. | ||||
Doc: https://github.com/Telmate/terraform-provider-proxmox/blob/master/README.md | Doc: https://github.com/Telmate/terraform-provider-proxmox/blob/master/README.md | ||||