terraform/internal/cloud/testdata/test/main.tftest.hcl
Liam Cervante ffbcaf8bef
Implement TFC integration for private module registry test runs (#33710)
* implement module testing via TFC

* ready for review

* fix static checks

* licence headers
2023-09-14 09:01:25 +02:00

20 lines
410 B
HCL

run "defaults" {
command = plan
assert {
condition = tfcoremock_simple_resource.resource.string == "Hello, world!"
error_message = "bad string value"
}
}
run "overrides" {
variables {
input = "Hello, universe!"
}
assert {
condition = tfcoremock_simple_resource.resource.string == "Hello, universe!"
error_message = "bad string value"
}
}