github.com/hashicorp/packer@v1.14.3/command/test-fixtures/hcl/reprepare/shell-local.pkr.hcl (about) 1 source "null" "example" { 2 communicator = "none" 3 } 4 5 build { 6 sources = [ 7 "source.null.example" 8 ] 9 provisioner "shell-local" { 10 script = "./${path.root}/hello.sh" 11 environment_vars = ["USER=packeruser", "BUILDER=${upper(build.ID)}"] 12 } 13 }