snippetterraformMinor
Getting "(sensitive value)" from `terraform state show`, how can I uncensor the value?
Viewed 0 times
showcansensitivetheuncensorgettingvaluestatehowfrom
Problem
When I run I try to use
How can I get around this problem?
terraform state show on variables flagged sensitive on some addresses I getprivate_data = (sensitive value)How can I get around this problem?
Solution
Unfortunately you can not. There is already a filed issue on this #32439.
Workaround
Until that's resolved you'll have to use
And learn how to query with jq to get what you want.
Workaround
Until that's resolved you'll have to use
terraform show -json | jq QUERYAnd learn how to query with jq to get what you want.
Code Snippets
terraform show -json | jq QUERYContext
StackExchange DevOps Q#17378, answer score: 7
Revisions (0)
No revisions yet.