forked from Telmate/terraform-provider-proxmox
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conflicts from branch 'upstream/master' into multi_device
- Loading branch information
Showing
2 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# How to get terraform to recognize third party provider | ||
|
||
The default installation of terraform has no way of finding custom third party providers. This document shows you how to locate providers so that `terraform init` can find them and copy them to your working terraform directory when creating a new project. | ||
|
||
## Locate the provider binaries | ||
|
||
Assuming you have followed other directions the deafult locations for these binaries (on a mac at least) are as follows: | ||
|
||
```bash | ||
which terraform-provider-proxmox | ||
~/go-workspace/bin/terraform-provider-proxmox | ||
which terraform-provisioner-proxmox | ||
~/go-workspace/bin/terraform-provisioner-proxmox | ||
``` | ||
|
||
## Copy provider binaries | ||
|
||
You need to copy these binaries to the ~/.terraform.d directory which will also need to have a plugins directory created: | ||
|
||
```shell | ||
cd ~/.terraform.d | ||
mkdir plugins | ||
cd plugins | ||
cp ~/go-workspace/bin/terraform-provider-proxmox . | ||
cp ~/go-workspace/bin/terraform-provisioner-proxmox . | ||
``` | ||
Once this is done, simply create a new terraform directory and do usual terraforming (terraform init etc) |
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