mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
Add test file for bad sensitive value
Adds a test file for an incorrectly typed (non-boolean) sensitive value to ensure it errors
This commit is contained in:
parent
b0f58479c5
commit
ada6f45871
7
configs/testdata/invalid-files/variable-bad-sensitive.tf
vendored
Normal file
7
configs/testdata/invalid-files/variable-bad-sensitive.tf
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
terraform {
|
||||
experiments = [sensitive_variables]
|
||||
}
|
||||
|
||||
variable "sensitive-value" {
|
||||
sensitive = "123" # must be boolean
|
||||
}
|
Loading…
Reference in New Issue
Block a user