2024-05-13 17:26:31 -04:00
|
|
|
Upon initialization of Packer, all the installed plugins will be automatically discovered.
|
2021-02-02 18:05:04 +01:00
|
|
|
|
2024-05-13 17:26:31 -04:00
|
|
|
Packer plugins must be located under the `plugins` sub-directory under Packer's main config directory
|
|
|
|
|
[PACKER_CONFIG_DIR](/packer/docs/configure#packer-s-config-directory).
|
|
|
|
|
If `PACKER_CONFIG_DIR` is either unset or empty, a default value of `$HOME/.config/packer/plugins` on UNIX,
|
|
|
|
|
or `%APPDATA%\packer.d\plugins` for Windows, will be used.
|
2021-02-02 18:05:04 +01:00
|
|
|
|
2024-05-13 17:26:31 -04:00
|
|
|
If the `PACKER_PLUGIN_PATH` environment variable is set, it will be used instead of `PACKER_CONFIG_DIR/plugins`.
|
2021-02-02 18:05:04 +01:00
|
|
|
|
2024-05-13 17:26:31 -04:00
|
|
|
-> **Note:** Prior to Packer 1.11 the `PACKER_PLUGIN_PATH` environment variable supported values containing
|
|
|
|
|
multiple directories. Starting with Packer 1.11 and later this variable only supports a single directory.
|