Editing Terraform fmt
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 10: | Line 10: | ||
== Examples == | == Examples == | ||
+ | [[terraform]] fmt | ||
+ | (no output) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
terraform fmt | terraform fmt | ||
[[main.tf]] | [[main.tf]] | ||
Line 26: | Line 22: | ||
[[terraform fmt -check]] | [[terraform fmt -check]] | ||
(no output) | (no output) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Related commands == | == Related commands == | ||
Line 41: | Line 31: | ||
* <code>[[Warning: Interpolation-only expressions are deprecated]]</code> | * <code>[[Warning: Interpolation-only expressions are deprecated]]</code> | ||
* <code>[[.pre-commit-config.yaml]]</code> | * <code>[[.pre-commit-config.yaml]]</code> | ||
− | * | + | * [[terraform --version]] |
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{terraform fmt}} | * {{terraform fmt}} | ||
+ | * {{fmt}} | ||
+ | * {{linter}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Advertising: