...

/

Releasing, Using and Debugging a Plugin

Releasing, Using and Debugging a Plugin

Understand the releasing, using, and debugging of a Packer plugin.

Packer has strict release requirements for allowing the packer binary to find and use a plugin. To have the plugin downloadable, the following requirements must be met:

  • Must be released on GitHub; no other source is allowed.

  • Have a repository named packer-plugin-*, where * is the name of your plugin.

  • Only use dashes, not underscore.

  • Must have a plugin release that includes certain assets we will describe.

The official release document can be found here.

Releasing a plugin

The first step for generating a release is to create a GNU Privacy Guard (GPG) key to sign releases. The GitHub instructions can be found here (but see notes directly underneath first).

Before you follow that document, remember these things while following the instructions:

  • Make sure you add the public key to your GitHub profile.

  • Do not use $ or any other symbol in your passphrase, as it will ...