Provider Acceptance Test Patterns Patterns for writing acceptance tests using terraform-plugin-testing with the Plugin Framework. Source: HashiCorp Testing Patterns References (load when needed): - — statecheck, plancheck, knownvalue types, tfjsonpath, comparers - — sweeper setup, TestMain, dependencies - — ephemeral resource testing, echoprovider, multi-step patterns --- Test Lifecycle The framework runs each TestStep through: plan → apply → refresh → final plan . If the final plan shows a diff, the test fails (unless is set). After all steps, destroy runs followed by . This means every test…