mirror of
https://github.com/hashicorp/packer.git
synced 2026-03-02 05:21:02 -05: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.
6 lines
105 B
HCL
6 lines
105 B
HCL
|
|
variables {
|
|
key = "value"
|
|
my_secret = "foo"
|
|
image_name = "foo-image-{{user `my_secret`}}"
|
|
}
|