I have some provisioners which are common and need to be used in multiple .pkr.hcl files. Instead of duplicating these in every file, I would like to define them in a single file (probably in a different GitHub repository). Note: I am not using JSON, but HCL. Hence I can’t options like jq. Please advise on how to achieve this.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Importing provisioners from other hcl file into build stanza | 3 | 603 | August 16, 2021 | |
Reference shared .hcl files in multiple build files? | 1 | 1894 | January 18, 2021 | |
HCL and Multiple Sources and Environments | 2 | 1275 | April 2, 2022 | |
How do I use one provisioner for multiple Packer builds in an HCL-formatted template? | 4 | 1864 | March 12, 2021 | |
Packer File Structure | 1 | 3889 | July 31, 2021 |