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
Allow terraform fmt
to be run on a single file.
#30072
Comments
Thanks for this well-written report. The good news is that you can already specify a single filename in the place of
will format only |
I would like to help, but where do I start @crw ? Should I update to |
Thanks @rubiagatra, the answer is that I am not sure at the moment! I will update if and when I can provide clear guidance. |
… option can target a single file instead
… option can target a single file instead
Fixes #30072 - Update docs to show single file usage
…72/gradually-trusting-wahoo Backport of Fixes #30072 - Update docs to show single file usage into v1.2
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Current Terraform Version
Use-cases
I would like to be able to run
terraform fmt
on a single file and not an entire directory. With all the same options.For example
terraform format -f main.tf
, orterraform format -no-color -check -f main.tf
Attempted Solutions
Not possible.
Proposal
References
No
The text was updated successfully, but these errors were encountered: