Skip to content

Commit 89c467d

Browse files
Update mmv1/third_party/terraform/acctest/resource_inventory_test.go
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
1 parent 5da930f commit 89c467d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mmv1/third_party/terraform/acctest/resource_inventory_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ func TestValidateResourceMetadata(t *testing.T) {
273273
t.Errorf("%s: `api_service_name` is required and not set", r.FileName)
274274
}
275275

276-
ignoredResources := []string{"google_biglake_iceberg_catalog", "google_biglake_iceberg_namespace"}
277276
// Allowlist google_biglake_iceberg resources as a pre-existing case.
278-
// These resources have their IAM published at different APIs than the API (because of Iceberg REST Spec).
277+
// This product doesn't have a version in the base_url because resources & IAM have different base_urls. (Resources include an `iceberg` prefix that isn't present for IAM URLs.)
278+
ignoredResources := []string{"google_biglake_iceberg_catalog", "google_biglake_iceberg_namespace"}
279279
if r.ApiVersion == "" && !slices.Contains(ignoredResources, resourceName) {
280280
t.Errorf("%s: `api_version` is required and not set", r.FileName)
281281
}

0 commit comments

Comments
 (0)