Skip to content

Commit

Permalink
Bump go-selvpc v3.2.1 -> v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sel-bukharov committed Nov 22, 2024
1 parent 5946216 commit 13aa761
Show file tree
Hide file tree
Showing 56 changed files with 73 additions and 73 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ module github.com/terraform-providers/terraform-provider-selectel
go 1.22.7

require (
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1
github.com/selectel/craas-go v0.3.0
github.com/selectel/dbaas-go v0.12.1
github.com/selectel/domains-go v1.0.2
github.com/selectel/go-selvpcclient/v3 v3.2.1
github.com/selectel/go-selvpcclient/v4 v4.0.0
github.com/selectel/iam-go v0.4.1
github.com/selectel/mks-go v0.16.0
github.com/selectel/secretsmanager-go v0.2.1
Expand All @@ -29,6 +28,7 @@ require (
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.6 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ github.com/selectel/dbaas-go v0.12.1 h1:u3mBMoHP/FnHucLqd1QBeBHjQ2WV4S88ewP97gCE
github.com/selectel/dbaas-go v0.12.1/go.mod h1:Ffq6RQ4PmgZX8eL9oXsaKDc0lzbCK9wadyDV6AHaz/k=
github.com/selectel/domains-go v1.0.2 h1:Si6iGaMnTFJxwiJVI50DOdZnwcxc87kqaWrVQYW0a4U=
github.com/selectel/domains-go v1.0.2/go.mod h1:SugRKfq4sTpnOHquslCpzda72wV8u0cMBHx0C0l+bzA=
github.com/selectel/go-selvpcclient/v3 v3.2.1 h1:ny6WIAMiHzKxOgOEnwcWE79wIQij1AHHylzPA41MXCw=
github.com/selectel/go-selvpcclient/v3 v3.2.1/go.mod h1:3EfSf8aEWyhspOGbvZ6mvnFg7JN5uckxNyBFPGWsXNQ=
github.com/selectel/go-selvpcclient/v4 v4.0.0 h1:5HorF8n6u/4BUh2+cJEysmXhMOB9epGgrKluLonPlM0=
github.com/selectel/go-selvpcclient/v4 v4.0.0/go.mod h1:eFhL1KUW159KOJVeGO7k/Uxl0TYd/sBkWXjuF5WxmYk=
github.com/selectel/iam-go v0.4.1 h1:grncCGkPVCM6nwqSTk+q15M5ZO6S/Pe0AIbbmKtm6gU=
github.com/selectel/iam-go v0.4.1/go.mod h1:OIAkW7MZK97YUm+uvUgYbgDhkI9SdzTCxwd4yZoOR1o=
github.com/selectel/mks-go v0.16.0 h1:qE4kMKQQV6iluu1W0WTzu3NJhXghS8GF20fIzV+3FOU=
Expand Down
2 changes: 1 addition & 1 deletion selectel/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/selectel/go-selvpcclient/v3/selvpcclient"
"github.com/selectel/go-selvpcclient/v4/selvpcclient"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion selectel/craas.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
v1 "github.com/selectel/craas-go/pkg"
"github.com/selectel/craas-go/pkg/v1/registry"
"github.com/selectel/go-selvpcclient/v3/selvpcclient"
"github.com/selectel/go-selvpcclient/v4/selvpcclient"
)

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSAvailableExtensionsV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSConfigurationParametersV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSDatastoreTypesV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/data_source_selectel_dbaas_flavor_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSFlavorsV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSDataSourcePrometheusMetricTokenV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/data_source_selectel_mks_kube_options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion selectel/iam.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/selectel/go-selvpcclient/v3/selvpcclient"
"github.com/selectel/go-selvpcclient/v4/selvpcclient"
"github.com/selectel/iam-go"
"github.com/selectel/iam-go/service/roles"
"github.com/selectel/iam-go/service/users"
Expand Down
2 changes: 1 addition & 1 deletion selectel/messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package selectel
import (
"testing"

"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/keypairs"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/keypairs"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion selectel/mks.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/quotamanager/quotas"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/quotamanager/quotas"
v1 "github.com/selectel/mks-go/pkg/v1"
"github.com/selectel/mks-go/pkg/v1/cluster"
"github.com/selectel/mks-go/pkg/v1/kubeoptions"
Expand Down
2 changes: 1 addition & 1 deletion selectel/mks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/quotamanager/quotas"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/quotamanager/quotas"
v1 "github.com/selectel/mks-go/pkg/v1"
"github.com/selectel/mks-go/pkg/v1/kubeversion"
"github.com/selectel/mks-go/pkg/v1/node"
Expand Down
4 changes: 2 additions & 2 deletions selectel/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"
"strings"

"github.com/selectel/go-selvpcclient/v3/selvpcclient"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/subnets"
"github.com/selectel/go-selvpcclient/v4/selvpcclient"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/subnets"
)

func getPrefixLengthFromCIDR(cidr string) (int, error) {
Expand Down
4 changes: 2 additions & 2 deletions selectel/networking_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package selectel
import (
"testing"

"github.com/selectel/go-selvpcclient/v3/selvpcclient"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/subnets"
"github.com/selectel/go-selvpcclient/v4/selvpcclient"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/subnets"
"github.com/stretchr/testify/assert"
)

Expand Down
6 changes: 3 additions & 3 deletions selectel/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"net/url"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/quotamanager/quotas"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
resellQuotas "github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/quotas"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/quotamanager/quotas"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
resellQuotas "github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/quotas"
"github.com/terraform-providers/terraform-provider-selectel/selectel/internal/hashcode"
)

Expand Down
2 changes: 1 addition & 1 deletion selectel/project_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package selectel
import (
"testing"

"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion selectel/regions.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/selectel/go-selvpcclient/v3/selvpcclient"
"github.com/selectel/go-selvpcclient/v4/selvpcclient"
)

func expandVPCV2Regions(rawRegions *schema.Set) []string {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_craas_registry_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/craas-go/pkg/v1/registry"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

const craasV1RegistryHostName = "https://cr.selcloud.ru"
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_craas_token_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/craas-go/pkg/v1/token"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccCRaaSTokenV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_database_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSDatabaseV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_datastore_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSDatastoreV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_extension_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSExtensionV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_firewall_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSFirewallV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_grant_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSGrantV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_kafka_acl_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSKafkaACLV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSKafkaDatastoreV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_kafka_topic_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSKafkaTopicV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_mysql_database_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSMySQLDatabaseV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

type Flavor struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSPostgreSQLDatabaseV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSPostgreSQLDatastoreV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSPostgreSQLExtensionV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSPostgreSQLLogicalReplicationSlotV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSPrometheusMetricTokenV1Basic(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSRedisDatastoreV1Basic(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_dbaas_user_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/dbaas-go"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
)

func TestAccDBaaSUserV1Basic(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions selectel/resource_selectel_mks_cluster_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/customdiff"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/quotamanager/quotas"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/quotamanager/quotas"
"github.com/selectel/mks-go/pkg/v1/cluster"
)

Expand Down Expand Up @@ -45,8 +45,8 @@ func resourceMKSClusterV1() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
DiffSuppressFunc: func(_, old, new string, _ *schema.ResourceData) bool {
return strings.EqualFold(old, new)
DiffSuppressFunc: func(_, oldVersion, newVersion string, _ *schema.ResourceData) bool {
return strings.EqualFold(oldVersion, newVersion)
},
},
"project_id": {
Expand Down
2 changes: 1 addition & 1 deletion selectel/resource_selectel_mks_cluster_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/selectel/go-selvpcclient/v3/selvpcclient/resell/v2/projects"
"github.com/selectel/go-selvpcclient/v4/selvpcclient/resell/v2/projects"
v1 "github.com/selectel/mks-go/pkg/v1"
"github.com/selectel/mks-go/pkg/v1/cluster"
"github.com/selectel/mks-go/pkg/v1/kubeoptions"
Expand Down
Loading

0 comments on commit 13aa761

Please sign in to comment.