--- description: > The scaffolding data source is used to create endless Packer plugins using a consistent plugin structure. page_title: Scaffolding - Data Sources nav_title: Scaffolding --- # Scaffolding Type: `scaffolding` The scaffolding data source is used to create endless Packer plugins using a consistent plugin structure. ### Required - `mock` (string) - The name of the mock to use for the Scaffolding API. ### Optional - `mock_api_url` (string) - The Scaffolding API endpoint to connect to. Defaults to https://example.com ### OutPut - `foo` (string) - The Scaffolding output foo value. - `bar` (string) - The Scaffolding output bar value. ### Example Usage ```hcl data "scaffolding" "example" { mock = "bird" } source "scaffolding" "example" { mock = data.scaffolding.example.foo } build { sources = ["source.scaffolding.example"] } ```