You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/configs/testdata/valid-modules/with-tests-backend/test_case_one.tftest.hcl

23 lines
426 B

variables {
input = "default"
}
# The backend in "load_state" is used to set an internal state without an explicit key
run "load_state" {
backend "local" {
path = "state/terraform.tfstate"
}
}
# "test_run" uses the same internal state as "load_state"
run "test_run" {
variables {
input = "custom"
}
assert {
condition = foo_resource.a.value == "custom"
error_message = "invalid value"
}
}