packer/hcl2template/testdata/build/invalid_build_name_variable.pkr.hcl
Wilken Rivera 4a0fbd911a
Add support for variable interpolation to hcp_packer_registry and build blocks. (#11421)
* Add variable interpolation support to hcp_packer_registry block

* Add tests for variable interpolation in hcp_packer_registry block

* Add variable interpolation support to the build block (#11425)

* Add simple test to build command
2021-12-01 11:35:51 +01:00

9 lines
89 B
HCL

variable "name" {
type = int
default = 123
}
build {
name = var.name
}