Terraform
Query Checks
During the Query mode of a TestStep, the configuration supplied is used as the content of a .tfquery.hcl query file and the testing framework will run terraform query.
The execution of terraform query results in a set of query results.
A query check is a test assertion that inspects the query results. Multiple query checks can be run, all assertion errors returned are aggregated, reported as a test failure, and all test cleanup logic is executed.
Refer to:
- Query Result Query Checks for built-in query checks.
- Custom Query Checks for defining bespoke query checks.