In the documentation it mentions you can change a json varibles file into an hcl2 variables file using hcl2_upgrade. When I attempt this I just get errors. Is there a specific command switch to upgrade a variables file?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Packer JSON -> HCL Conversion - What to do with Varibles? | 1 | 173 | April 18, 2023 | |
Working JSON breaks after HCL2 upgrade - Error: Variables not allowed | 6 | 1377 | February 23, 2021 | |
Packer json to hcl conversion with Vault | 4 | 1290 | May 1, 2023 | |
Working JSON breaks HCL2 upgrade - unknown builder type & builder missing 'type' | 2 | 1307 | May 18, 2021 | |
Converted json to hcl2 -> a million errors | 6 | 601 | December 17, 2023 |