When I run I try to use terraform state show on variables flagged sensitive on some addresses I get

private_data = (sensitive value)

How can I get around this problem?

1 Answer 1


Unfortunately you can not. There is already a filed issue on this #32439.


Until that's resolved you'll have to use

terraform show -json | jq QUERY

And learn how to query with jq to get what you want.

  • 1
    This was helpful! thanks for sharing!
    – Aminovic
    Jun 13 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.