You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/packer_test/plugin_tester/docs/provisioners/provisioner-name.mdx

63 lines
1.2 KiB

---
description: >
The scaffolding provisioner is used to provisioner Packer builds.
page_title: Scaffolding - Provisioners
nav_title: Scaffolding
---
# Scaffolding
Type: `scaffolding`
<!--
Include a short description about the provisioner. This is a good place
to call out what the provisioner does, and any additional text that might
be helpful to a user. See https://www.packer.io/docs/provisioners/null
-->
The scaffolding provisioner is used to provisioner Packer builds.
<!-- Provisioner Configuration Fields -->
### Required
- `mock` (string) - The name of the mock string to display.
<!--
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 provisioner. Multiple examples
can be provided to highlight various configurations.
-->
### Example Usage
```hcl
source "null" "example" {
communicator = "none"
}
build {
source "null.example" {
name = "jay"
}
provisioner "scaffolding" {
mock = "mocking ${source.name}"
}
}
```