mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-15 11:38:59 -04:00
Since the tester plugin used for blackbox testing is called packer-plugin-tester, we rename the directory it's stored in to plugin_tester.
59 lines
1.2 KiB
Text
59 lines
1.2 KiB
Text
---
|
|
description: >
|
|
The scaffolding post-processor is used to export Packer Scaffolding builds.
|
|
page_title: Scaffolding - Post-Processors
|
|
nav_title: Scaffolding
|
|
---
|
|
|
|
# Scaffolding
|
|
|
|
Type: `scaffolding`
|
|
|
|
<!--
|
|
Include a short description about the post-processor. This is a good place
|
|
to call out what the post-processor does, and any additional text that might
|
|
be helpful to a user. See https://www.packer.io/docs/provisioners/null
|
|
-->
|
|
|
|
The scaffolding post-processor is used to export Packer Scaffolding builds.
|
|
|
|
|
|
<!-- Post-Processor Configuration Fields -->
|
|
|
|
### Required
|
|
|
|
- `mock` (string) - The output path where to save exported build to.
|
|
|
|
<!--
|
|
Optional Configuration Fields
|
|
|
|
Configuration options that are not required or have reasonable defaults
|
|
should be listed under the optionals section. Defaults values should be
|
|
noted in the description of the field
|
|
-->
|
|
|
|
### Optional
|
|
|
|
|
|
<!--
|
|
A basic example on the usage of the post-processor. Multiple examples
|
|
can be provided to highlight various configurations.
|
|
|
|
-->
|
|
### Example Usage
|
|
|
|
|
|
```hcl
|
|
source "scaffolding" "example" {
|
|
mock = "jay"
|
|
}
|
|
|
|
build {
|
|
sources = ["source.scaffolding.example"]
|
|
|
|
post-processor "scaffolding" {
|
|
mock = "builds/scaffolding.box"
|
|
}
|
|
}
|
|
```
|
|
|