From a29a24711357688055c38d80e5637740aaa26594 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 19 Apr 2024 08:42:59 -0400
Subject: [PATCH] maint(deps): bump the hashicorp group with 2 updates (#462)
Bumps the hashicorp group with 2 updates:
[github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework)
and
[github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go).
Updates `github.com/hashicorp/terraform-plugin-framework` from 1.7.0 to
1.8.0
Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's
releases.
v1.8.0
BREAKING CHANGES:
- function: Removed
Definition
type
Parameter()
method (#968)
NOTES:
- function: Provider-defined function features are now considered
generally available and protected by compatibility promises (#966)
- attr/xattr: The
TypeWithValidate
interface has been
deprecated in preference of the ValidateableAttribute
interface. A ValidatableParameter
interface has also been
added to the function
package (#968)
FEATURES:
- attr/xattr: Added
ValidateableAttribute
interface for
custom value type implementations (#968)
- function: Added
ValidateableParameter
interface for
custom value type implementations (#968)
function
: Add BoolParameterValidator
,
DynamicParameterValidator
,
Float64ParameterValidator
,
Int64ParameterValidator
,
ListParameterValidator
, MapParameterValidator
,
NumberParameterValidator
,
ObjectParameterValidator
,
SetParameterValidator
, and
StringParameterValidator
interfaces for custom function
parameter validation implementations. (#971)
function
: Add ParameterWithBoolValidators
,
ParameterWithInt64Validators
,
ParameterWithFloat64Validators
,
ParameterWithDynamicValidators
,
ParameterWithListValidators
,
ParameterWithMapValidators
,
ParameterWithNumberValidators
,
ParameterWithObjectValidators
,
ParameterWithSetValidators
, and
ParameterWithStringValidators
interfaces to enable
parameter-based validation support (#971)
BUG FIXES:
- types/basetypes: Prevented panic in the
MapValue
types
Equal
method when the receiver has a nil
elementType
(#961)
- types/basetypes: Prevented panic in the
ListValue
types
Equal
method when the receiver has a nil
elementType
(#961)
- types/basetypes: Prevented panic in the
SetValue
types
Equal
method when the receiver has a nil
elementType
(#961)
- resource: Ensured computed-only dynamic attributes will not cause
wrong final value type
errors during planning (#969)
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's
changelog.
1.8.0 (April 18, 2024)
BREAKING CHANGES:
- function: Removed
Definition
type
Parameter()
method (#968)
NOTES:
- function: Provider-defined function features are now considered
generally available and protected by compatibility promises (#966)
- attr/xattr: The
TypeWithValidate
interface has been
deprecated in preference of the ValidateableAttribute
interface. A ValidatableParameter
interface has also been
added to the function
package (#968)
FEATURES:
- attr/xattr: Added
ValidateableAttribute
interface for
custom value type implementations (#968)
- function: Added
ValidateableParameter
interface for
custom value type implementations (#968)
function
: Add BoolParameterValidator
,
DynamicParameterValidator
,
Float64ParameterValidator
,
Int64ParameterValidator
,
ListParameterValidator
, MapParameterValidator
,
NumberParameterValidator
,
ObjectParameterValidator
,
SetParameterValidator
, and
StringParameterValidator
interfaces for custom function
parameter validation implementations. (#971)
function
: Add ParameterWithBoolValidators
,
ParameterWithInt64Validators
,
ParameterWithFloat64Validators
,
ParameterWithDynamicValidators
,
ParameterWithListValidators
,
ParameterWithMapValidators
,
ParameterWithNumberValidators
,
ParameterWithObjectValidators
,
ParameterWithSetValidators
, and
ParameterWithStringValidators
interfaces to enable
parameter-based validation support (#971)
BUG FIXES:
- types/basetypes: Prevented panic in the
MapValue
types
Equal
method when the receiver has a nil
elementType
(#961)
- types/basetypes: Prevented panic in the
ListValue
types
Equal
method when the receiver has a nil
elementType
(#961)
- types/basetypes: Prevented panic in the
SetValue
types
Equal
method when the receiver has a nil
elementType
(#961)
- resource: Ensured computed-only dynamic attributes will not cause
wrong final value type
errors during planning (#969)
Commits
711b0a5
Update changelog
9d9533c
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#984)
23c2403
Remove wildcard suffix from setup_terraform
workflow call
(#981)
392ed7c
website: Update testing documentation to utilize new
statecheck
and `knownv...
de32b2c
basetypes: fix equality for values with nil elementType (#961)
d36ac87
Add parameter-based provider-defined function validation (#971)
f6057df
docs: Remove technical preview verbiage from provider-defined functions
(#972)
4a9b6a3
Add type-based provider-defined function parameter validation (#968)
541a7cb
Small edit for style on a code comment (#975)
484f311
internal/fwserver: Ensure computed dynamic values are marked as dynamic
type ...
- See full diff in compare
view
Updates `github.com/hashicorp/terraform-plugin-go` from 0.22.1 to 0.22.2
Release notes
Sourced from github.com/hashicorp/terraform-plugin-go's
releases.
v0.22.2
BUG FIXES:
- tftypes: Large integers are always encoded as msgpack integers
rather than float values to ensure the decoded value will not be rounded
to 52-bit precision (#396)
Changelog
Sourced from github.com/hashicorp/terraform-plugin-go's
changelog.
0.22.2 (April 18, 2024)
BUG FIXES:
- tftypes: Large integers are always encoded as msgpack integers
rather than float values to ensure the decoded value will not be rounded
to 52-bit precision (#396)
Commits
8e2a4b5
Update changelog
865883d
don't marshal integer values as msgpack floats (#396)
6d19ca6
workflows: Remove wildcard suffix from Terraform workflow call (#395)
b2e7097
build(deps): Bump google.golang.org/grpc from 1.63.0 to 1.63.2 (#394)
06b2d94
build(deps): Bump google.golang.org/grpc from 1.62.1 to 1.63.0 (#393)
1d146a8
build(deps): Bump google.golang.org/protobuf in /tools (#390)
- See full diff in compare
view
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
go.mod | 10 +++++-----
go.sum | 20 ++++++++++----------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/go.mod b/go.mod
index 867cd15f..bb08a3c4 100644
--- a/go.mod
+++ b/go.mod
@@ -5,8 +5,8 @@ go 1.21
require (
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320
github.com/hashicorp/go-retryablehttp v0.7.5
- github.com/hashicorp/terraform-plugin-framework v1.7.0
- github.com/hashicorp/terraform-plugin-go v0.22.1
+ github.com/hashicorp/terraform-plugin-framework v1.8.0
+ github.com/hashicorp/terraform-plugin-go v0.22.2
github.com/hashicorp/terraform-plugin-mux v0.15.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0
github.com/hashicorp/terraform-plugin-testing v1.7.0
@@ -19,14 +19,14 @@ require (
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
golang.org/x/tools v0.13.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
)
require (
github.com/agext/levenshtein v1.2.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.16.0 // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
@@ -65,7 +65,7 @@ require (
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
- google.golang.org/grpc v1.62.1 // indirect
+ google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/go.sum b/go.sum
index d72beb17..5649716b 100644
--- a/go.sum
+++ b/go.sum
@@ -36,8 +36,8 @@ github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4er
github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
@@ -75,12 +75,12 @@ github.com/hashicorp/terraform-exec v0.20.0 h1:DIZnPsqzPGuUnq6cH8jWcPunBfY+C+M8J
github.com/hashicorp/terraform-exec v0.20.0/go.mod h1:ckKGkJWbsNqFKV1itgMnE0hY9IYf1HoiekpuN0eWoDw=
github.com/hashicorp/terraform-json v0.21.0 h1:9NQxbLNqPbEMze+S6+YluEdXgJmhQykRyRNd+zTI05U=
github.com/hashicorp/terraform-json v0.21.0/go.mod h1:qdeBs11ovMzo5puhrRibdD6d2Dq6TyE/28JiU4tIQxk=
-github.com/hashicorp/terraform-plugin-framework v1.7.0 h1:wOULbVmfONnJo9iq7/q+iBOBJul5vRovaYJIu2cY/Pw=
-github.com/hashicorp/terraform-plugin-framework v1.7.0/go.mod h1:jY9Id+3KbZ17OMpulgnWLSfwxNVYSoYBQFTgsx044CI=
+github.com/hashicorp/terraform-plugin-framework v1.8.0 h1:P07qy8RKLcoBkCrY2RHJer5AEvJnDuXomBgou6fD8kI=
+github.com/hashicorp/terraform-plugin-framework v1.8.0/go.mod h1:/CpTukO88PcL/62noU7cuyaSJ4Rsim+A/pa+3rUVufY=
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 h1:HOjBuMbOEzl7snOdOoUfE2Jgeto6JOjLVQ39Ls2nksc=
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0/go.mod h1:jfHGE/gzjxYz6XoUwi/aYiiKrJDeutQNUtGQXkaHklg=
-github.com/hashicorp/terraform-plugin-go v0.22.1 h1:iTS7WHNVrn7uhe3cojtvWWn83cm2Z6ryIUDTRO0EV7w=
-github.com/hashicorp/terraform-plugin-go v0.22.1/go.mod h1:qrjnqRghvQ6KnDbB12XeZ4FluclYwptntoWCr9QaXTI=
+github.com/hashicorp/terraform-plugin-go v0.22.2 h1:5o8uveu6eZUf5J7xGPV0eY0TPXg3qpmwX9sce03Bxnc=
+github.com/hashicorp/terraform-plugin-go v0.22.2/go.mod h1:drq8Snexp9HsbFZddvyLHN6LuWHHndSQg+gV+FPkcIM=
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/hashicorp/terraform-plugin-mux v0.15.0 h1:+/+lDx0WUsIOpkAmdwBIoFU8UP9o2eZASoOnLsWbKME=
@@ -209,10 +209,10 @@ 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-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
-google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
-google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
+google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
+google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
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.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=