concept
Inspect state without exposing secrets
Use narrow state inspections and explicitly approved public fields. Sensitive values may persist and JSON output may expose them.
Formal Syntax & Structure
terraform syntaxterraform
Inspect state without exposing secretsWorking Example
Example Snippetterraform
terraform state listterraform state show 'terraform_data.worker["blue"]'terraform output catalog_label