Skip to content

Commit

Permalink
chore: bump SDK dependencies to use latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alrayyes committed Dec 27, 2024
1 parent da911ff commit 8b7a097
Show file tree
Hide file tree
Showing 38 changed files with 56 additions and 50 deletions.
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ require (
github.com/hashicorp/terraform-plugin-go v0.25.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-testing v1.11.0
github.com/leaseweb/leaseweb-go-sdk/v3 v3.2.0
github.com/leaseweb/leaseweb-go-sdk/dedicatedserver v0.0.0-20241227103802-e351aa7f2aa3
github.com/leaseweb/leaseweb-go-sdk/dns v0.0.0-20241227103802-e351aa7f2aa3
github.com/leaseweb/leaseweb-go-sdk/publiccloud v0.0.0-20241227103802-e351aa7f2aa3
github.com/stretchr/testify v1.10.0
)

Expand Down Expand Up @@ -61,9 +63,9 @@ require (
golang.org/x/text v0.21.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241223144023-3abc09e42ca8 // indirect
google.golang.org/grpc v1.69.2 // indirect
google.golang.org/protobuf v1.36.0 // indirect
google.golang.org/protobuf v1.36.1 // indirect
gopkg.in/validator.v2 v2.0.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
16 changes: 10 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/leaseweb/leaseweb-go-sdk/v3 v3.2.0 h1:7yw3TcU/gmtujieBdiQ0S7y803PgqkuYG4+ONAX0bmo=
github.com/leaseweb/leaseweb-go-sdk/v3 v3.2.0/go.mod h1:PMSo8i57KR7k2RlS2K0OH1dKf5FHxOY3eDzXBZ69Lig=
github.com/leaseweb/leaseweb-go-sdk/dedicatedserver v0.0.0-20241227103802-e351aa7f2aa3 h1:xux6lvSXeYrvpS3v68ARxAI3RkrpFXCOGAXvg6r4igc=
github.com/leaseweb/leaseweb-go-sdk/dedicatedserver v0.0.0-20241227103802-e351aa7f2aa3/go.mod h1:8c8VAxXnjCxuUEss0Unrd5NB9o7oAkOPeORCs58y76s=
github.com/leaseweb/leaseweb-go-sdk/dns v0.0.0-20241227103802-e351aa7f2aa3 h1:37L0YwZTZiA4T7FtXb5/Uaf2ZQ2YenEb9tBnENZeFyI=
github.com/leaseweb/leaseweb-go-sdk/dns v0.0.0-20241227103802-e351aa7f2aa3/go.mod h1:ntxqh2fT7XDwjPLNsWtq6tTjwjL/75llxnbzEZvvzIo=
github.com/leaseweb/leaseweb-go-sdk/publiccloud v0.0.0-20241227103802-e351aa7f2aa3 h1:MAA1giF7c1m1ixVt0GCw5V1gVSBsbM9DEfAWDYXicDs=
github.com/leaseweb/leaseweb-go-sdk/publiccloud v0.0.0-20241227103802-e351aa7f2aa3/go.mod h1:AYJsx8WlHYQXRAzEMuXzuApwIctcLPFazfAo9uy6ogY=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
Expand Down Expand Up @@ -220,14 +224,14 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484 h1:Z7FRVJPSMaHQxD0uXU8WdgFh8PseLM8Q8NzhnpMrBhQ=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241216192217-9240e9c98484/go.mod h1:lcTa1sDdWEIHMWlITnIczmw5w60CF9ffkb8Z+DVmmjA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241223144023-3abc09e42ca8 h1:TqExAhdPaB60Ux47Cn0oLV07rGnxZzIsaRhQaqS666A=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241223144023-3abc09e42ca8/go.mod h1:lcTa1sDdWEIHMWlITnIczmw5w60CF9ffkb8Z+DVmmjA=
google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU=
google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ=
google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk=
google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
Expand Down
6 changes: 3 additions & 3 deletions internal/provider/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
package client

import (
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/v3/dns"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dns"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
)

const userAgentBase = "leaseweb-terraform"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/dedicatedserver/credential_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/dedicatedserver/installation_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/dedicatedserver/server_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/credential_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/credential_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"

"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/image_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/image_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/images_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/images_data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/instance_iso_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/instance_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/instance_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/instances_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/ip_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/ip_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/isos_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

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

"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/load_balancer_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/target_group_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/publiccloud/target_groups_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/utils"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/utils/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/diag"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/v3/dns"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/dns"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/provider/client"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/utils/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/hashicorp/terraform-plugin-framework/datasource"
"github.com/hashicorp/terraform-plugin-framework/diag"
"github.com/hashicorp/terraform-plugin-framework/resource"
"github.com/leaseweb/leaseweb-go-sdk/v3/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/dedicatedserver"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/leaseweb/terraform-provider-leaseweb/internal/provider/client"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/value_adapters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/hashicorp/terraform-plugin-framework/diag"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/hashicorp/terraform-plugin-framework/types/basetypes"
"github.com/leaseweb/leaseweb-go-sdk/v3/publiccloud"
"github.com/leaseweb/leaseweb-go-sdk/publiccloud"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down

0 comments on commit 8b7a097

Please sign in to comment.