Document how to provide provider plugin overrides

The docs did not mention that it is possible to provide overrides for specific
plugins by placing them into a `terraform.d/plugins/os_arch/` directory inside
the working dir.

Closes #15727.
This commit is contained in:
Christoph Tavan 2017-08-07 10:52:30 +02:00
parent 3db3502487
commit b413061fd8
No known key found for this signature in database
GPG Key ID: D9B600C63A37FD28
1 changed files with 7 additions and 0 deletions

View File

@ -135,6 +135,13 @@ the desired providers into a local directory and using the additonal option
is consulted, which prevents Terraform from making requests to the plugin
repository or looking for plugins in other local directories.
In case you only want to override specific providers and have Terraform
download all other providers from the plugin repository, you can place those
specific provider plugins in a `terraform.d/plugins/os_arch/` directory inside
the working directory (e.g. `terraform.d/plugins/darwin_amd64/` on Mac OS X).
Upon `init` Terraform will then use all providers found in this directory and
download all missing providers from the plugin repository.
When plugins are automatically downloaded and installed, by default the
contents are verified against an official HashiCorp release signature to
ensure that they were not corrupted or tampered with during download. It is