Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support updating without knowing the file #69

Open
nitrocode opened this issue Mar 14, 2023 · 0 comments
Open

Support updating without knowing the file #69

nitrocode opened this issue Mar 14, 2023 · 0 comments

Comments

@nitrocode
Copy link

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 ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant