Skip to content

Support updating without knowing the file #69

@nitrocode

Description

@nitrocode

Like tfupdate, it would be nice to update the hcl using hcledit without knowing the exact file to update.

E.g.

tfupdate terraform -v 0.12.16 -r ./

Here is a current command of hcledit

hcledit attribute append resource.foo.bar.nested.attr3 '"val3"' --newline --update --file main.tf

Perhaps a directory argument and/or recursive flag could be added with --file as optional?

hcledit attribute append resource.foo.bar.nested.attr3 '"val3"' --newline --update -r ./

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions