mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-21 18:56:57 -05:00
22 lines
335 B
HCL
22 lines
335 B
HCL
variables {
|
|
input = "bar"
|
|
}
|
|
|
|
run "validate_test_resource" {
|
|
assert {
|
|
condition = test_resource.foo.value == "bar"
|
|
error_message = "invalid value"
|
|
}
|
|
}
|
|
|
|
run "validate_test_resource" {
|
|
variables {
|
|
input = "zap"
|
|
}
|
|
|
|
assert {
|
|
condition = test_resource.foo.value == "zap"
|
|
error_message = "invalid value"
|
|
}
|
|
}
|