terraform-provider-virtualbox | VirtualBox provider for Terraform | Infrastructure Automation library
kandi X-RAY | terraform-provider-virtualbox Summary
kandi X-RAY | terraform-provider-virtualbox Summary
VirtualBox provider for Terraform
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of terraform-provider-virtualbox
terraform-provider-virtualbox Key Features
terraform-provider-virtualbox Examples and Code Snippets
Community Discussions
Trending Discussions on terraform-provider-virtualbox
QUESTION
Attempting to get Terraform to work on windows 10 64 bit, using the Virtualbox provider plugin listed here (https://github.com/terra-farm/terraform-provider-virtualbox). I've verified that the plugin exists in %APPData%/terraform.d/plugins/windows_amd64 but it says it's not there. Have tried the following with no luck
- Tried copying terraform.d to local instead of roaming for %APPData%.
- Tried in the root directory where the terraform executible exists
- Tried just the virtualbox folder instead of the entire plugin in both %APPData% locations
- Tried in the folder where the terraform files exists
None have worked. It acts as if the folder it says to place the plugin, and where it's looking are mismatched, but I doubt something like that would have made it to release, so I'm at a loss as to why it's not seeing the plugin.
Terraform is the latest version. Using the following in my example.tf (the only tf file in the directory that i execute terraform form)
...ANSWER
Answered 2019-Sep-03 at 17:42Terraform looks for plugins in a number of locations, but the primary place for manually-installed plugins is in the "User Plugins Directory", which is either ~/.terraform.d/plugins
on Unix systems or %APPDATA%\terraform.d\plugins
on Windows.
The .terraform/plugins
directory is not the place to put plugins you're installing manually. That directory is managed by Terraform itself and is the location for automatically-installed plugins. If you place plugins in that directory manually, terraform init
may delete them as part of plugin installation.
Terraform also requires the provider executable to follow a particular naming scheme: terraform-provider-providername_vX.Y.Z
, where the _vX.Y.Z
part is technically optional but strongly recommended in order for version
constraints to operate correctly. On Windows in particular, the file must also have the suffix .exe
, because Terraform plugins are separate programs that Terraform will launch.
To debug Terraform's plugin discovery process, you can set the environment variable TF_LOG=debug
before you run terraform init
. In that output there will be lines like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install terraform-provider-virtualbox
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page