Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper: Add support sensitive variables in TestRunner #337

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Jul 28, 2024

Follow up of terraform-linters/tflint-ruleset-terraform#196

Until now, the test runner was not able to handle sensitive values, making it impossible to detect problems like terraform-linters/tflint-ruleset-terraform#196 in unit tests.

This PR adds support for the sensitive attribute on variable blocks, making it easier to test marked values ​​like the following:

variable "sensitive" {
  default = "secret"
  sensitive = true
}

@wata727 wata727 merged commit c00f251 into master Jul 28, 2024
5 checks passed
@wata727 wata727 deleted the sensitive_for_test_runner branch July 28, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant