hashicorp / terraform-config-inspect

A helper library for shallow inspection of Terraform configurations
Mozilla Public License 2.0
383 stars 76 forks source link

Feature Request: Support sensitive attribute for outputs #55

Closed andy-caruso closed 3 years ago

andy-caruso commented 3 years ago

This will allow developers to properly manage sensitive outputs when displaying them in a system

mildwonkey commented 3 years ago

terraform-config-inspect is more of a local development tool; can you explain a bit more about how you are using it to display outputs to a system? I would suggest that you use terraform output or other terraform-specific commands for user-facing displays instead of terraform-config-inspect.

andy-caruso commented 3 years ago

A couple of examples:

In both of the above cases, I thinkterraform-config-inspect is being used as intended to understand the structure of a set of terraform files and not to create/update cloud infrastructure.

mildwonkey commented 3 years ago

👍 thanks again @andy-caruso !