8 Extending Packer

In this chapter we’re going to see the two methods currently available for extending Packer: integrating third-party plugins and writing our own plugins. Packer plugins make it easy to add new functionality without needing to change any core code. Indeed, much of Packer’s existing core functionality is provided by plugins that ship with Packer itself. Most of the builders, provisioners, and so on are Packer plugins that are automatically loaded when Packer is run. There is also a small ecosystem of Packer plugins available for you to integrate.

8.1 Packer plugins

Packer plugins are standalone applications written in Go that Packer executes and communicates with. They aren’t meant to be run manually—the Packer core provides ...

Get The Packer Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.