mirror of https://github.com/hashicorp/terraform
These options don't make sense when passing STDIN. `-write` will raise an
error because there is no file to write to. `-list` will always say
`<standard input>`. So disable whenever using STDIN, making the command
much simpler:
cat main.tf | terraform fmt -
pull/4955/head
parent
e9128769b5
commit
79e2753e41
Loading…
Reference in new issue