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 | |
|---|---|---|---|---|
| Working JSON breaks after HCL2 upgrade - Error: Variables not allowed | 6 | 1537 | February 23, 2021 | |
| Packer JSON -> HCL Conversion - What to do with Varibles? | 1 | 234 | April 18, 2023 | |
| Packer json to hcl conversion with Vault | 4 | 1400 | May 1, 2023 | |
| Working JSON breaks HCL2 upgrade - unknown builder type & builder missing 'type' | 2 | 1357 | May 18, 2021 | |
| Converted json to hcl2 -> a million errors | 6 | 799 | December 17, 2023 |