scottwinkler/terraform-provider-shell

sensitive output from data source

Opened this issue · 2 comments

It would be great to have an option to mark the output of the data source as sensitive to hide it from the logs.

mars commented

In recent Terraform versions, you can set outputs to sensitive = true.

Nuru commented

While it is true that in recent Terraform you can mark values as sensitive, there remains the issue that the data source itself is subject to having its values appear in the "plan" and elsewhere if the data source is not marked sensitive by the provider.