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

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