Closed ppff closed 4 years ago
This PR is not about variables leaking in logs, but rather, leaking in plans. When using shell scripts in CI/CD, plans are automatically displayed by terraform, hence are everywhere in the CI/CD logs. Terraform logs, in which we should see stdout/stderr, if that's what you mean, are not displayed unless we force them to. Please rename as you will!
released as part of 1.3.0
Pretty useful if you don't want your environment variables to be displayed when terraform outputs the plan (eg tokens, passwords, etc).
Added documentation in README, example and tests. (Couldn't add another data_source test because of some race condition coming from the schema functions, it doesn't seem to be related to my code.)