Skip to content

Extending Packer plugin development examples #8952

@nywilken

Description

@nywilken

The existing Extending Packer documentation provides context around building custom plugins such as a new Builder, Provisioner, or Post-Processer, with the focus on providing enough details to get a developer started. But it does easily point to how those constructs are used in an existing plugin.

It would be great to expand on the documentation with an example or two for how to contribute to an existing plugin. Possibly using a small and more complex plugin code base to explain how and when to add a new configuration property vs creating a new step to interact with some upstream API. Some other ideas that come to mind are as follows:

  • How data is shared between statebags.
  • How a plugin is structured into separate packages (common, plugin specific).
  • Brief overview of testing a plugin: unit test vs acceptance test

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions