mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-25 07:28:23 -04:00
backport of commit 1f4f2aebca
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user