Skip to content

Commit d50ea78

Browse files
committed
Update TF Import check due to new Go import
1 parent 2e9630e commit d50ea78

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

pkg/sdkv2/resources/group_acceptance_test.go

+8-4
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,14 @@ func TestAccDbtCloudGroupResource(t *testing.T) {
113113
},
114114
// IMPORT
115115
{
116-
ResourceName: "dbtcloud_group.test_group",
117-
ImportState: true,
118-
ImportStateVerify: true,
119-
ImportStateVerifyIgnore: []string{},
116+
ResourceName: "dbtcloud_group.test_group",
117+
ImportState: true,
118+
ImportStateVerify: true,
119+
ImportStateVerifyIgnore: []string{
120+
// being a set we need to ignore all, but * doesn't work
121+
"group_permissions.0.project_id",
122+
"group_permissions.1.project_id",
123+
},
120124
},
121125
},
122126
})

pkg/sdkv2/resources/service_token_acceptance_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ func TestAccDbtCloudServiceTokenResource(t *testing.T) {
129129
ImportStateVerify: true,
130130
ImportStateVerifyIgnore: []string{
131131
"token_string",
132+
// being a set, we need to ignore all the project_id as we don't know which one is the one with 0
133+
"service_token_permissions.0.project_id",
134+
"service_token_permissions.1.project_id",
132135
},
133136
},
134137
},

0 commit comments

Comments
 (0)