Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Set up client once for acceptance tests #2237

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test: ## run unit and integration tests
go test -v -cover -timeout=30m ./...

test-acceptance: ## run acceptance tests
TF_ACC=1 go test -run "^TestAcc_" -v -cover -timeout=30m ./...
TF_ACC=1 SF_TF_ACC_TEST_CONFIGURE_CLIENT_ONCE=true go test -run "^TestAcc_" -v -cover -timeout=30m ./...

test-architecture: ## check architecture constraints between packages
go test ./pkg/architests/... -v
Expand Down
21 changes: 17 additions & 4 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"fmt"
"net"
"net/url"
"os"
"sync"
"time"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down Expand Up @@ -737,9 +739,20 @@
config = sdk.MergeConfig(config, profileConfig)
}
}
client, err := sdk.NewClient(config)
if err != nil {
return nil, err

if os.Getenv("TF_ACC") != "" && os.Getenv("SF_TF_ACC_TEST_CONFIGURE_CLIENT_ONCE") == "true" {
once.Do(func() {
configuredClient, configureClientErr = sdk.NewClient(config)
})
} else {
configuredClient, configureClientErr = sdk.NewClient(config)
}
return client.GetConn().DB, nil
if configureClientErr != nil {
return nil, configureClientErr
}
return configuredClient.GetConn().DB, nil
}

var once sync.Once

Check failure on line 756 in pkg/provider/provider.go

View workflow job for this annotation

GitHub Actions / reviewdog

[golangci] reported by reviewdog 🐶 File is not `gofumpt`-ed (gofumpt) Raw Output: pkg/provider/provider.go:756: File is not `gofumpt`-ed (gofumpt) var once sync.Once var configuredClient *sdk.Client var configureClientErr error
var configuredClient *sdk.Client
var configureClientErr error

Check failure on line 758 in pkg/provider/provider.go

View workflow job for this annotation

GitHub Actions / reviewdog

the variable name `configureClientErr` should conform to the `errXxx` format (errname)

Check failure on line 758 in pkg/provider/provider.go

View workflow job for this annotation

GitHub Actions / reviewdog

[golangci] reported by reviewdog 🐶 the variable name `configureClientErr` should conform to the `errXxx` format (errname) Raw Output: pkg/provider/provider.go:758:5: the variable name `configureClientErr` should conform to the `errXxx` format (errname) var configureClientErr error ^
2 changes: 1 addition & 1 deletion pkg/resources/account_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestAcc_Account_complete(t *testing.T) {
accountName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
password := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha) + "123ABC"

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
8 changes: 4 additions & 4 deletions pkg/resources/account_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_AccountGrant_defaults(t *testing.T) {
roleName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -47,7 +47,7 @@ func TestAcc_AccountGrant_defaults(t *testing.T) {
func TestAcc_AccountGrantManagedTask(t *testing.T) {
roleName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -65,7 +65,7 @@ func TestAcc_AccountGrantManagedTask(t *testing.T) {
func TestAcc_AccountGrantManageSupportCases(t *testing.T) {
roleName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -83,7 +83,7 @@ func TestAcc_AccountGrantManageSupportCases(t *testing.T) {
func TestAcc_AccountGrantManageWarehouses(t *testing.T) {
roleName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
6 changes: 3 additions & 3 deletions pkg/resources/account_parameter_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func TestAcc_AccountParameter(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -36,7 +36,7 @@ resource "snowflake_account_parameter" "p" {
}

func TestAcc_AccountParameter_PREVENT_LOAD_FROM_INLINE_URL(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -53,7 +53,7 @@ func TestAcc_AccountParameter_PREVENT_LOAD_FROM_INLINE_URL(t *testing.T) {
}

func TestAcc_AccountParameter_REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION(t *testing.T) {
resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/database_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestAcc_DatabaseWithUnderscore(t *testing.T) {
}

prefix := "_" + strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/database_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestAcc_DatabaseGrant(t *testing.T) {
roleName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
shareName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -72,7 +72,7 @@ func TestAcc_DatabaseGrant(t *testing.T) {
// dbName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
// roleName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

// resource.ParallelTest(t, resource.TestCase{
// resource. Test(t, resource.TestCase{
// Providers: providers(),
// Steps: []resource.TestStep{
// {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestAcc_ExternalOauthIntegration(t *testing.T) {

issuer := fmt.Sprintf("https://sts.windows.net/%s", uuid.NewString())

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/external_stage_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_ExternalStage(t *testing.T) {
accName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/external_table_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_ExternalTableGrant_onAll(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -45,7 +45,7 @@ func TestAcc_ExternalTableGrant_onAll(t *testing.T) {
func TestAcc_ExternalTableGrant_onFuture(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/failover_group_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestAcc_FailoverGroupGrant(t *testing.T) {
accountName := os.Getenv("SNOWFLAKE_BUSINESS_CRITICAL_ACCOUNT")
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
24 changes: 12 additions & 12 deletions pkg/resources/file_format_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_FileFormatCSV(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -66,7 +66,7 @@ func TestAcc_FileFormatCSV(t *testing.T) {
func TestAcc_FileFormatJSON(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -103,7 +103,7 @@ func TestAcc_FileFormatJSON(t *testing.T) {
func TestAcc_FileFormatAvro(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -129,7 +129,7 @@ func TestAcc_FileFormatAvro(t *testing.T) {
func TestAcc_FileFormatORC(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -154,7 +154,7 @@ func TestAcc_FileFormatORC(t *testing.T) {
func TestAcc_FileFormatParquet(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -181,7 +181,7 @@ func TestAcc_FileFormatParquet(t *testing.T) {
func TestAcc_FileFormatXML(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -211,7 +211,7 @@ func TestAcc_FileFormatXML(t *testing.T) {
func TestAcc_FileFormatCSVDefaults(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -237,7 +237,7 @@ func TestAcc_FileFormatCSVDefaults(t *testing.T) {
func TestAcc_FileFormatJSONDefaults(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -263,7 +263,7 @@ func TestAcc_FileFormatJSONDefaults(t *testing.T) {
func TestAcc_FileFormatAVRODefaults(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -289,7 +289,7 @@ func TestAcc_FileFormatAVRODefaults(t *testing.T) {
func TestAcc_FileFormatORCDefaults(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -315,7 +315,7 @@ func TestAcc_FileFormatORCDefaults(t *testing.T) {
func TestAcc_FileFormatPARQUETDefaults(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand All @@ -341,7 +341,7 @@ func TestAcc_FileFormatPARQUETDefaults(t *testing.T) {
func TestAcc_FileFormatXMLDefaults(t *testing.T) {
accName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/file_format_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func TestAcc_FileFormatGrant_defaults(t *testing.T) {
func TestAcc_FileFormatGrant_onAll(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -87,7 +87,7 @@ func TestAcc_FileFormatGrant_onAll(t *testing.T) {
func TestAcc_FileFormatGrant_onFuture(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/function_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_FunctionGrant_onFuture(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/grant_privileges_to_role_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_GrantPrivilegesToRole_onAccount(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/internal_stage_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_InternalStage(t *testing.T) {
accName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/managed_account_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestAcc_ManagedAccount(t *testing.T) {
adminName := acctest.RandStringFromCharSet(10, acctest.CharSetAlpha)
adminPass := fmt.Sprintf("A1%v", acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/masking_policy_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestAcc_MaskingPolicy(t *testing.T) {
accName2 := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
comment := "Terraform acceptance test"
comment2 := "Terraform acceptance test 2"
resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/materialized_view_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestAcc_MaterializedView(t *testing.T) {
viewName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
warehouseName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -47,7 +47,7 @@ func TestAcc_MaterializedView2(t *testing.T) {
warehouseName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))
viewName := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
4 changes: 2 additions & 2 deletions pkg/resources/materialized_view_grant_acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestAcc_MaterializedViewFutureGrant(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down Expand Up @@ -45,7 +45,7 @@ func TestAcc_MaterializedViewFutureGrant(t *testing.T) {
func TestAcc_MaterializedViewAllGrant(t *testing.T) {
name := strings.ToUpper(acctest.RandStringFromCharSet(10, acctest.CharSetAlpha))

resource.ParallelTest(t, resource.TestCase{
resource.Test(t, resource.TestCase{
Providers: acc.TestAccProviders(),
PreCheck: func() { acc.TestAccPreCheck(t) },
CheckDestroy: nil,
Expand Down
Loading
Loading