terraform-provider-shell icon indicating copy to clipboard operation
terraform-provider-shell copied to clipboard

sensitive output from data source

Open landorg opened this issue 3 years ago • 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.

landorg avatar Apr 19 '21 12:04 landorg

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

mars avatar Apr 30 '21 20:04 mars

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.

Nuru avatar Jun 16 '21 04:06 Nuru