packer-cn/hcl2template/testdata/variables/provisioner_variable_decodi...

21 lines
303 B
HCL

variables {
max_retries = "1"
max_retries_int = 1
}
source "null" "null-builder" {
communicator = "none"
}
build {
sources = [
"source.null.null-builder",
]
provisioner "shell" {
max_retries = var.max_retries_int
}
provisioner "shell" {
max_retries = var.max_retries
}
}