packer-cn/command/test-fixtures/validate/validate_except.pkr.hcl

31 lines
507 B
HCL

source "file" "chocolate" {
content = "chocolate"
target = "chocolate.txt"
}
source "file" "vanilla" {
content = "vanilla"
}
build {
sources = [
"source.file.chocolate",
"source.file.vanilla"
]
post-processors {
post-processor "shell-local" {
name = "apple"
inline = [ "echo apple 'apple'" ]
}
post-processor "shell-local" {
name = "pear"
inline = [ "echo apple 'pear'" ]
}
post-processor "shell-local" {
name = "banana"
}
}
}