Skip to content
Merged
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
4 changes: 2 additions & 2 deletions actionvalidator/all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestAllValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -105,7 +105,7 @@ func TestAllValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
4 changes: 2 additions & 2 deletions actionvalidator/any_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestAnyValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -88,7 +88,7 @@ func TestAnyValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
6 changes: 3 additions & 3 deletions actionvalidator/any_with_all_warnings_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestAnyWithAllWarningsValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -95,7 +95,7 @@ func TestAnyWithAllWarningsValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -149,7 +149,7 @@ func TestAnyWithAllWarningsValidatorValidateAction(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
4 changes: 2 additions & 2 deletions actionvalidator/at_least_one_of_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestAtLeastOneOf(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -65,7 +65,7 @@ func TestAtLeastOneOf(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
4 changes: 2 additions & 2 deletions actionvalidator/conflicting_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestConflicting(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -65,7 +65,7 @@ func TestConflicting(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
4 changes: 2 additions & 2 deletions actionvalidator/exactly_one_of_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestExactlyOneOf(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -65,7 +65,7 @@ func TestExactlyOneOf(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
4 changes: 2 additions & 2 deletions actionvalidator/required_together_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestRequiredTogether(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test": schema.StringAttribute{
Optional: true,
Expand Down Expand Up @@ -65,7 +65,7 @@ func TestRequiredTogether(t *testing.T) {
},
req: action.ValidateConfigRequest{
Config: tfsdk.Config{
Schema: schema.UnlinkedSchema{
Schema: schema.Schema{
Attributes: map[string]schema.Attribute{
"test1": schema.StringAttribute{
Optional: true,
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ go 1.24.0

require (
github.com/google/go-cmp v0.7.0
github.com/hashicorp/terraform-plugin-framework v1.16.0-beta.1
github.com/hashicorp/terraform-plugin-go v0.29.0-beta.1
github.com/hashicorp/terraform-plugin-framework v1.16.1
github.com/hashicorp/terraform-plugin-go v0.29.0
)

require (
github.com/fatih/color v1.13.0 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/sys v0.35.0 // indirect
)
37 changes: 22 additions & 15 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs=
github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/hashicorp/go-hclog v1.5.0 h1:bI2ocEMgcVlz55Oj1xZNBsVi900c7II+fWDyV9o+13c=
github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
github.com/hashicorp/terraform-plugin-framework v1.16.0-beta.1 h1:HhL8HbPuKu9pH5kgEjeWWaqXgN88U42dFa8sYRLHQsY=
github.com/hashicorp/terraform-plugin-framework v1.16.0-beta.1/go.mod h1:XQfoA+oS1ETMuQrcM689/TWMx9leV59N7Xscm5t7b+g=
github.com/hashicorp/terraform-plugin-go v0.29.0-beta.1 h1:xeHlRQYev3iMXwX2W7+D1bSfLRBs9jojZXqE6hmNxMI=
github.com/hashicorp/terraform-plugin-go v0.29.0-beta.1/go.mod h1:5pww/UULn9C2tItq6o5sbScEkJxBUt9X9kI4DkeRsIw=
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
github.com/hashicorp/terraform-plugin-framework v1.16.1 h1:1+zwFm3MEqd/0K3YBB2v9u9DtyYHyEuhVOfeIXbteWA=
github.com/hashicorp/terraform-plugin-framework v1.16.1/go.mod h1:0xFOxLy5lRzDTayc4dzK/FakIgBhNf/lC4499R9cV4Y=
github.com/hashicorp/terraform-plugin-go v0.29.0 h1:1nXKl/nSpaYIUBU1IG/EsDOX0vv+9JxAltQyDMpq5mU=
github.com/hashicorp/terraform-plugin-go v0.29.0/go.mod h1:vYZbIyvxyy0FWSmDHChCqKvI40cFTDGSb3D8D70i9GM=
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0=
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40=
github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng=
github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s=
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8=
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
Expand All @@ -37,8 +43,9 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=