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

Feature Request: Sort normal blocks based on rules #37

Open
userbradley opened this issue Apr 18, 2023 · 0 comments
Open

Feature Request: Sort normal blocks based on rules #37

userbradley opened this issue Apr 18, 2023 · 0 comments

Comments

@userbradley
Copy link

Hey!

I would like to see this tool expanded to also sort the lines in a block.

Sorting the vars is awesome, but I would also like to see the blocks internal line items sorted, like the below

resource "google_service_account" "example" {
  project      = var.project
  account_id   = "example"
  display_name = "example"
}

I would then like to see a config file that allows you to setup which order you want the line items to appear in.

Let me know if this makes sense?

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