Skip to content

Commit

Permalink
Update TF Import check due to new Go import
Browse files Browse the repository at this point in the history
  • Loading branch information
b-per committed May 14, 2024
1 parent 2e9630e commit d50ea78
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkg/sdkv2/resources/group_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
},
})
Expand Down
3 changes: 3 additions & 0 deletions pkg/sdkv2/resources/service_token_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
},
},
Expand Down

0 comments on commit d50ea78

Please sign in to comment.