diff --git a/pkg/sdkv2/resources/group_acceptance_test.go b/pkg/sdkv2/resources/group_acceptance_test.go index fcc9a273..50c0d746 100644 --- a/pkg/sdkv2/resources/group_acceptance_test.go +++ b/pkg/sdkv2/resources/group_acceptance_test.go @@ -113,10 +113,14 @@ func TestAccDbtCloudGroupResource(t *testing.T) { }, // IMPORT { - ResourceName: "dbtcloud_group.test_group", - ImportState: true, - ImportStateVerify: true, - ImportStateVerifyIgnore: []string{}, + ResourceName: "dbtcloud_group.test_group", + ImportState: true, + ImportStateVerify: true, + ImportStateVerifyIgnore: []string{ + // being a set we need to ignore all, but * doesn't work + "group_permissions.0.project_id", + "group_permissions.1.project_id", + }, }, }, }) diff --git a/pkg/sdkv2/resources/service_token_acceptance_test.go b/pkg/sdkv2/resources/service_token_acceptance_test.go index 4d7e1fbb..b4d10ff8 100644 --- a/pkg/sdkv2/resources/service_token_acceptance_test.go +++ b/pkg/sdkv2/resources/service_token_acceptance_test.go @@ -129,6 +129,9 @@ func TestAccDbtCloudServiceTokenResource(t *testing.T) { ImportStateVerify: true, ImportStateVerifyIgnore: []string{ "token_string", + // being a set, we need to ignore all the project_id as we don't know which one is the one with 0 + "service_token_permissions.0.project_id", + "service_token_permissions.1.project_id", }, }, },