# Show all warnings?

**URL:** <https://discuss.hashicorp.com/t/show-all-warnings/5606>\
**Category:** Terraform\
**Created:** [February 3, 2020, 5:25pm UTC](https://discuss.hashicorp.com/t/show-all-warnings/5606 "2020-02-03T17:25:13Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![rquadling](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/rquadling/32/5402_2.png) [@rquadling](https://discuss.hashicorp.com/u/rquadling)\
**Post date:** [May 11, 2022, 4:26pm UTC](https://discuss.hashicorp.com/t/show-all-warnings/5606/10 "2022-05-11T16:26:48Z")

</div>

If you want to display this a little nicer than raw JSON …

```auto
terraform validate -json | jq -r '[del( .diagnostics[] | select( .detail | startswith( "Experimental features" ) ) ) | .diagnostics[] | { Detail:.detail, Address:.address, Filename:.range.filename, Line:.range.start.line } ] | ( .[0] | keys_unsorted | ( . , map( length*"-" ) ) ), .[] | map(.) | @tsv' | column -ts $'\t'

```

which will produce something like:

```auto
Detail Address Filename Line
------ ------- -------- ----
Use the aws_s3_bucket_acl resource instead module.efs_backup.aws_s3_bucket.efs_backup modules/efs_backup/s3.tf 4
Use the aws_s3_bucket_lifecycle_configuration resource instead module.efs_backup.aws_s3_bucket.efs_backup modules/efs_backup/s3.tf 1
Use the aws_s3_bucket_acl resource instead aws_s3_bucket.config_recorder_bucket aws-config.tf 191

```

[EDIT: The above will require jq v1.6]

---

_[View the full topic](https://discuss.hashicorp.com/t/show-all-warnings/5606)._
