Skip to content

Migrate Packer files from JSON to HCL #814

Open
@johananl

Description

@johananl

Is your feature request related to a problem? Please describe.

JSON doesn't support comments whereas HCL does. Being unable to comment inline makes it harder to maintain Packer code because we can't explain tricky/unusual bits, add TODOs in context etc.

Describe the solution you'd like

As of 1.7.0, the recommended config format for Packer is HCL. We should consider migrating. There is an upgrade tool.

Describe alternatives you've considered

We could stay with JSON and not use comments.

Additional context
None.

/kind feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions