mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-22 07:51:39 -04:00
Package hcl2template defines code to parse hcl2 template files correctly. In order to configure a packer builder,provisioner,communicator and post processor. Checkout the files in testdata/complete/ to see what a packer config could look like.
7 lines
105 B
HCL
7 lines
105 B
HCL
|
|
variables {
|
|
key = "value"
|
|
my_secret = "foo"
|
|
image_name = "foo-image-{{user `my_secret`}}"
|
|
}
|