Skip to content

Commit 0c9bb60

Browse files
authored
chore(deps): switch from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3 (#882)
See https://github.com/yaml/go-yaml#project-status. For a diff between the old 3.0.1 and the new 3.0.2, see https://gist.github.com/scop/6ec72debf62a9603cff9dc97e6814ddd. 3.0.1 are identical. Upgrade to 3.0.4 while at it (trivial non-functional changes only).
1 parent 35e061c commit 0c9bb60

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ require (
1616
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0
1717
github.com/hashicorp/terraform-plugin-testing v1.13.0
1818
github.com/stretchr/testify v1.11.1
19+
go.yaml.in/yaml/v3 v3.0.4
1920
golang.org/x/crypto v0.45.0
2021
golang.org/x/mod v0.29.0
21-
gopkg.in/yaml.v3 v3.0.1
2222
)
2323

2424
require (
@@ -72,4 +72,5 @@ require (
7272
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
7373
google.golang.org/grpc v1.75.1 // indirect
7474
google.golang.org/protobuf v1.36.9 // indirect
75+
gopkg.in/yaml.v3 v3.0.1 // indirect
7576
)

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ go.opentelemetry.io/otel/sdk/metric v1.37.0 h1:90lI228XrB9jCMuSdA0673aubgRobVZFh
194194
go.opentelemetry.io/otel/sdk/metric v1.37.0/go.mod h1:cNen4ZWfiD37l5NhS+Keb5RXVWZWpRE+9WyVCpbo5ps=
195195
go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mxVK7z4=
196196
go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0=
197+
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
198+
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
197199
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
198200
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
199201
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=

internal/service/kubernetes/cluster_data_source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
1616
"github.com/hashicorp/terraform-plugin-framework/diag"
1717
"github.com/hashicorp/terraform-plugin-framework/types"
18-
"gopkg.in/yaml.v3"
18+
"go.yaml.in/yaml/v3"
1919
)
2020

2121
func NewKubernetesClusterDataSource() datasource.DataSource {

0 commit comments

Comments
 (0)