14 lines
245 B
HCL
14 lines
245 B
HCL
|
source "null" "example" {
|
||
|
communicator = "none"
|
||
|
}
|
||
|
|
||
|
build {
|
||
|
sources = [
|
||
|
"source.null.example"
|
||
|
]
|
||
|
provisioner "shell-local" {
|
||
|
script = "./${path.root}/hello.sh"
|
||
|
environment_vars = ["USER=packeruser", "BUILDER=${upper(build.ID)}"]
|
||
|
}
|
||
|
}
|