# Terraform show command

**URL:** <https://discuss.hashicorp.com/t/terraform-show-command/12600>\
**Category:** Terraform\
**Tags:** hcp-terraform, terraform-enterprise\
**Created:** [August 10, 2020, 2:31pm UTC](https://discuss.hashicorp.com/t/terraform-show-command/12600 "2020-08-10T14:31:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tej-Singh-Rana](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tej-singh-rana/32/7336_2.png) [@Tej-Singh-Rana](https://discuss.hashicorp.com/u/Tej-Singh-Rana)\
**Post date:** [August 10, 2020, 2:31pm UTC](https://discuss.hashicorp.com/t/terraform-show-command/12600/1 "2020-08-10T14:31:34Z")

</div>

Why **terraform show** command picks a terraform.tf.state instead of main.tf. As in the warning it displayed doesn’t support plain format. But what is the reason to not support plain text format? Any expert can share their views on it.

Any slack channel is available of terraform official.

---

<div class="post-metadata">

**Author:** ![bentterp](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/bentterp/32/3450_2.png) [@bentterp](https://discuss.hashicorp.com/u/bentterp)\
**Post date:** [August 11, 2020, 3:19am UTC](https://discuss.hashicorp.com/t/terraform-show-command/12600/2 "2020-08-11T03:19:53Z")

</div>

Because the command is used to inspect state (remote or in a `terraform.tfstate` file) or a plan-file, not a configuration like `main.tf`.

> **[Command: show - Terraform by HashiCorp](https://www.terraform.io/docs/commands/show.html)**
>
> The \`terraform show\` command is used to provide human-readable output from a state or plan file. This can be used to inspect a plan to ensure that the planned operations are expected, or to inspect the current state as Terraform sees it.

---

<div class="post-metadata">

**Author:** ![Tej-Singh-Rana](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/tej-singh-rana/32/7336_2.png) [@Tej-Singh-Rana](https://discuss.hashicorp.com/u/Tej-Singh-Rana)\
**Post date:** [August 11, 2020, 8:01am UTC](https://discuss.hashicorp.com/t/terraform-show-command/12600/3 "2020-08-11T08:01:28Z")

</div>

Hmm that makes sense. Thank you.
