You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A while ago before orcs groundlessly and treacherously come against Ukraine while I was poking around some TF issue I stumbled upon this thread about sorting Terraform files and created a tiny AWK script to achieve the goal of sorting definition blocks in .tf files.
And now I had a thought that someone may find it useful and may want to create a pre-commit-terraform hook to benefit from it (I don't actually heavily use either and thus I'm not sure I'd be able to allocate some reasonable amount of time for this).
So if there are any volunteers to pick this task up, I'd be happy to assist as much as time permits.
Thanks in advance for the contribution and effort 🙇🏻
How could pre-commit-terraform help solve your problem?
Sorting definition blocks in *.tf files may make your code more beautiful and clear. Or may not 😏
The text was updated successfully, but these errors were encountered:
That pretty much looks like the current terraform_docs realization, jfyi. So will be a good idea to look into it to understand how to +- do the same as a standalone hook.
What problem are you facing?
A while ago
before orcs groundlessly and treacherously come against Ukrainewhile I was poking around some TF issue I stumbled upon this thread about sorting Terraform files and created a tiny AWK script to achieve the goal of sorting definition blocks in.tf
files.And now I had a thought that someone may find it useful and may want to create a
pre-commit-terraform
hook to benefit from it (I don't actually heavily use either and thus I'm not sure I'd be able to allocate some reasonable amount of time for this).So if there are any volunteers to pick this task up, I'd be happy to assist as much as time permits.
Thanks in advance for the contribution and effort 🙇🏻
How could pre-commit-terraform help solve your problem?
Sorting definition blocks in
*.tf
files may make your code more beautiful and clear. Or may not 😏The text was updated successfully, but these errors were encountered: