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

31 lines
507 B
HCL
Raw Permalink Normal View History

2020-06-09 09:23:29 -04:00
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'" ]
}
2020-06-09 09:23:29 -04:00
post-processor "shell-local" {
name = "pear"
inline = [ "echo apple 'pear'" ]
}
2020-06-09 11:35:53 -04:00
post-processor "shell-local" {
name = "banana"
}
2020-06-09 09:23:29 -04:00
}
}