github.com/hashicorp/packer@v1.14.3/command/test-fixtures/validate/validate_except.pkr.hcl (about) 1 source "file" "chocolate" { 2 content = "chocolate" 3 target = "chocolate.txt" 4 } 5 source "file" "vanilla" { 6 content = "vanilla" 7 } 8 9 build { 10 sources = [ 11 "source.file.chocolate", 12 "source.file.vanilla" 13 ] 14 15 post-processors { 16 post-processor "shell-local" { 17 name = "apple" 18 inline = [ "echo apple 'apple'" ] 19 } 20 21 post-processor "shell-local" { 22 name = "pear" 23 inline = [ "echo apple 'pear'" ] 24 } 25 26 post-processor "shell-local" { 27 name = "banana" 28 } 29 } 30 }