hashicorp / packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
http://www.packer.io
Other
15.08k stars 3.33k forks source link

JSON to HCL transpiler #9015

Closed azr closed 4 years ago

azr commented 4 years ago

It's all in the title; now that we have HCL2 variables I think we could write a first beta version of the JSON files to HCL2 files transpiler. It would be nice to have the validate command working for Packer HCL2 first though (issue: #8538).

Also there could be some minor turbulences doing this as I expect there is a lot of already existing buildfiles in the universe and edge cases will occur.

ad-m commented 4 years ago

I have the impression that passing through #9282 might provide different real cases of using Packer as the initial source of test cases.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.