scottwinkler / terraform-provider-shell

Terraform provider for executing shell commands and saving output to state file
Mozilla Public License 2.0
279 stars 60 forks source link

sensitive output from data source #92

Open landorg opened 3 years ago

landorg commented 3 years ago

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 3 years ago

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

Nuru commented 3 years ago

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.