packer-cn/command/test-fixtures/hcl/datasource.pkr.hcl

15 lines
197 B
HCL

data "mock" "content" {
foo = "chocolate"
}
source "file" "chocolate" {
content = data.mock.content.foo
target = "chocolate.txt"
}
build {
sources = [
"sources.file.chocolate",
]
}