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
foo
(string) - The Scaffolding output foo value.bar
(string) - The Scaffolding output bar value.
data "scaffolding" "example" {
mock = "bird"
}
source "scaffolding" "example" {
mock = data.scaffolding.example.foo
}
build {
sources = ["source.scaffolding.example"]
}