diff --git a/provider/testing/resource.go b/provider/testing/resource.go index a1e7586a..90b46e71 100644 --- a/provider/testing/resource.go +++ b/provider/testing/resource.go @@ -77,7 +77,11 @@ func TestResource(t *testing.T, resource ResourceTestCase) { func fetch(t *testing.T, resource *ResourceTestCase) error { t.Helper() resourceNames := make([]string, 0, len(resource.Provider.ResourceMap)) - for name := range resource.Provider.ResourceMap { + for name, table := range resource.Provider.ResourceMap { + if table.IgnoreInTests { + t.Logf("skipping resource: %s in tests", name) + continue + } resourceNames = append(resourceNames, name) }