concept

Integration test strategy

Verify deployed behavior and plan scoped cleanup.

Formal Syntax & Structure

terraform syntaxterraform
Integration test strategy

Working Example

Example Snippetterraform
run "test_inventory" {  command = apply  variables {    environment = "test"  }  assert {    condition     = output.record_name == "inventory-test"    error_message = "Unexpected inventory name."  }}
Terraform Reference
Integration test strategy — Terraform Syntax & | ByteMind