Files
opentf/internal/command/testdata/test/refresh_only/main.tftest.hcl
RLRabinowitz b08933aeb1 Normalise lines in ned of test files
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-09-03 16:37:05 +03:00

43 lines
589 B
HCL

run "first" {
variables {
input = "first"
}
assert {
condition = test_resource.foo.value == "first"
error_message = "invalid value"
}
}
run "second" {
command=plan
plan_options {
mode=refresh-only
}
variables {
input = "second"
}
assert {
condition = test_resource.foo.value == "first"
error_message = "invalid value"
}
}
run "third" {
command=plan
plan_options {
mode=normal
}
variables {
input = "second"
}
assert {
condition = test_resource.foo.value == "second"
error_message = "invalid value"
}
}