backport of commit 1f4f2aebca

This commit is contained in:
Lucas Bajolet
2024-06-07 18:38:20 +00:00
parent 7f407b1bbe
commit fbb0ce8e21
37 changed files with 2682 additions and 0 deletions
@@ -0,0 +1,59 @@
---
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"
}
}
```