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

Sort variables based on the order in the code files #35

Open
sfenman opened this issue Apr 14, 2023 · 1 comment
Open

Sort variables based on the order in the code files #35

sfenman opened this issue Apr 14, 2023 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sfenman
Copy link

sfenman commented Apr 14, 2023

Hello,

Thanks for this tool, it really helps. What I would like to see as a feature is to be able to sort variables based on the order they are found in the code files eg. in the main.tf. There are sometimes where I want to "group" variables based on the resource type.

For example let's assume that I have an AWS S3 module. I might have a logical block inside main.tf that defines all IAM resources before the actual AWS S3 resource. Sorting variables in this order enhances navigation in the variables.tf file especially when you have multiple types of Terraform resources.

I understand this is a huge and time consuming implementation but if you think there is a fit in this project, I could help with that.

@AlexNabokikh
Copy link
Owner

@sfenman I appreciate your idea and recognize the effort it would take to bring it to fruition.
However, given my current workload, I must prioritize my primary responsibilities.
If you have the opportunity and inclination to work on this initiative, I encourage you to do so, and I am open to any possible contributions you may have.

@AlexNabokikh AlexNabokikh added enhancement New feature or request help wanted Extra attention is needed labels Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants