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

fix secrets bug #53

Closed scottwinkler closed 4 years ago

scottwinkler commented 4 years ago

Closes ticket #47. Sanitized stdout was being used to read output json, which is a problem if there is sensitive data in the json itself. Fixed this. Still have problem sanitizing multi-line sensitive data, but that is a bit more complicated and will probably need its own ticket to address.

Besides closing this ticket, also the documentation was updated and sensitive_environment was added to the provider config.