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 attribute list #82

Open
paololazzari opened this issue Jun 22, 2023 · 0 comments
Open

Support attribute list #82

paololazzari opened this issue Jun 22, 2023 · 0 comments

Comments

@paololazzari
Copy link

Given:

#main.tf
locals {
  a = "foo"
  b = "bar"
  c = {"nums":[1,2]}
}

It would be nice to be able to do something like:

hcledit -f main.tf attribute list locals

to get:

locals.a
locals.b
locals.c.nums[0]
locals.c.nums[1]
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