GoogleCloudPlatform / k8s-config-connector

GCP Config Connector, a Kubernetes add-on for managing GCP resources
https://cloud.google.com/config-connector/docs/overview
Apache License 2.0
888 stars 219 forks source link

fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.12.0 #2117

Open renovate-bot opened 3 months ago

renovate-bot commented 3 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/terraform-plugin-framework v1.1.1 -> v1.12.0 age adoption passing confidence

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

hashicorp/terraform-plugin-framework (github.com/hashicorp/terraform-plugin-framework) ### [`v1.12.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.12.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.11.0...v1.12.0) NOTES: - all: This Go module has been updated to Go 1.22 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.22 release notes](https://go.dev/doc/go1.22) before upgrading. Any consumers building on earlier Go versions may experience errors ([#​1033](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1033)) BUG FIXES: - providerserver: Fixed bug that prevented `moved` operation support between resource types for framework-only providers. ([#​1039](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1039)) ### [`v1.11.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.11.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.10.0...v1.11.0) NOTES: - Framework reflection logic (`Config.Get`, `Plan.Get`, etc.) for structs with `tfsdk` field tags has been updated to support embedded structs that promote exported fields. For existing structs that embed unexported structs with exported fields, a tfsdk ignore tag (`tfsdk:"-"`) can be added to ignore all promoted fields. For example, the following struct will now return an error diagnostic: ```go type thingResourceModel struct { Attr1 types.String `tfsdk:"attr_1"` Attr2 types.Bool `tfsdk:"attr_2"` // Previously, this embedded struct was ignored, will now promote underlying fields embeddedModel } type embeddedModel struct { // No `tfsdk` tag ExportedField string } ``` To preserve the original behavior, a tfsdk ignore tag can be added to ignore the entire embedded struct: ```go type thingResourceModel struct { Attr1 types.String `tfsdk:"attr_1"` Attr2 types.Bool `tfsdk:"attr_2"` // This embedded struct will now be ignored embeddedModel `tfsdk:"-"` } type embeddedModel struct { ExportedField string } ``` ([#​1021](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1021)) ENHANCEMENTS: - all: Added embedded struct support for object to struct conversions with `tfsdk` tags ([#​1021](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1021)) ### [`v1.10.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.10.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.9.0...v1.10.0) FEATURES: - types/basetypes: Added `Int32Type` and `Int32Value` implementations for Int32 value handling. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - types/basetypes: Added interfaces `basetypes.Int32Typable`, `basetypes.Int32Valuable`, and `basetypes.Int32ValuableWithSemanticEquals` for Int32 custom type and value implementations. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - resource/schema: Added `Int32Attribute` implementation for Int32 value handling. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - datasource/schema: Added `Int32Attribute` implementation for Int32 value handling. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - provider/schema: Added `Int32Attribute` implementation for Int32 value handling. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - function: Added `Int32Parameter` and `Int32Return` for Int32 value handling. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - resource/schema/int32default: New package with `StaticValue` implementation for Int32 schema-based default values. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - resource/schema/int32planmodifier: New package with built-in implementations for Int32 value plan modification. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - resource/schema/defaults: New `Int32` interface for Int32 schema-based default implementations. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - resource/schema/planmodifier: New `Int32` interface for Int32 value plan modification implementations. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - schema/validator: New `Int32` interface for Int32 value schema validation. ([#​1010](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1010)) - types/basetypes: Added `Float32Type` and `Float32Value` implementations for Float32 value handling. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - types/basetypes: Added interfaces `basetypes.Float32Typable`, `basetypes.Float32Valuable`, and `basetypes.Float32ValuableWithSemanticEquals` for Float32 custom type and value implementations. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - resource/schema: Added `Float32Attribute` implementation for Float32 value handling. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - datasource/schema: Added `Float32Attribute` implementation for Float32 value handling. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - provider/schema: Added `Float32Attribute` implementation for Float32 value handling. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - function: Added `Float32Parameter` and `Float32Return` for Float32 value handling. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - resource/schema/float32default: New package with `StaticValue` implementation for Float32 schema-based default values. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - resource/schema/float32planmodifier: New package with built-in implementations for Float32 value plan modification. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - resource/schema/defaults: New `Float32` interface for Float32 schema-based default implementations. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - resource/schema/planmodifier: New `Float32` interface for Float32 value plan modification implementations. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) - schema/validator: New `Float32` interface for Float32 value schema validation. ([#​1014](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1014)) ### [`v1.9.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.9.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.8.0...v1.9.0) NOTES: - resource: If plan modification was dependent on nested attribute plan modification automatically running when the nested object was null/unknown, it may be necessary to add object-level plan modification to convert the nested object to a known object first. ([#​995](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/995)) - This release contains support for deferred actions, which is an experimental feature only available in prerelease builds of Terraform 1.9 and later. This functionality is subject to change and is not protected by version compatibility guarantees. ([#​999](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/999)) FEATURES: - resource: Add `Deferred` field to `ReadResponse`, `ModifyPlanResponse`, and `ImportStateResponse` which indicates a resource deferred action to the Terraform client ([#​999](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/999)) - datasource: Add `Deferred` field to `ReadResponse` which indicates a data source deferred action to the Terraform client ([#​999](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/999)) - resource: Add `ClientCapabilities` field to `ReadRequest`, `ModifyPlanRequest`, and `ImportStateRequest` which specifies optionally supported protocol features for the Terraform client ([#​999](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/999)) - datasource: Add `ClientCapabilities` field to `ReadRequest` which specifies optionally supported protocol features for the Terraform client ([#​999](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/999)) - provider: Add `Deferred` field to `ConfigureResponse` which indicates a provider deferred action to the Terraform client ([#​1002](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1002)) - provider: Add `ClientCapabilities` field to `ConfigureRequest` which specifies optionally supported protocol features for the Terraform client ([#​1002](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/1002)) ENHANCEMENTS: - function: Introduced implementation errors for collection and object parameters and returns which are missing type information ([#​991](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/991)) BUG FIXES: - resource: Prevented errant collection-based nested object conversion from null/unknown object to known object ([#​995](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/995)) ### [`v1.8.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.8.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.7.0...v1.8.0) BREAKING CHANGES: - function: Removed `Definition` type `Parameter()` method ([#​968](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/968)) NOTES: - function: Provider-defined function features are now considered generally available and protected by compatibility promises ([#​966](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/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](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/968)) FEATURES: - attr/xattr: Added `ValidateableAttribute` interface for custom value type implementations ([#​968](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/968)) - function: Added `ValidateableParameter` interface for custom value type implementations ([#​968](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/968)) - `function`: Add `BoolParameterValidator`, `DynamicParameterValidator`, `Float64ParameterValidator`, `Int64ParameterValidator`, `ListParameterValidator`, `MapParameterValidator`, `NumberParameterValidator`, `ObjectParameterValidator`, `SetParameterValidator`, and `StringParameterValidator` interfaces for custom function parameter validation implementations. ([#​971](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/971)) - `function`: Add `ParameterWithBoolValidators`, `ParameterWithInt64Validators`, `ParameterWithFloat64Validators`, `ParameterWithDynamicValidators`, `ParameterWithListValidators`, `ParameterWithMapValidators`, `ParameterWithNumberValidators`, `ParameterWithObjectValidators`, `ParameterWithSetValidators`, and `ParameterWithStringValidators` interfaces to enable parameter-based validation support ([#​971](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/971)) BUG FIXES: - types/basetypes: Prevented panic in the `MapValue` types `Equal` method when the receiver has a nil `elementType` ([#​961](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/961)) - types/basetypes: Prevented panic in the `ListValue` types `Equal` method when the receiver has a nil `elementType` ([#​961](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/961)) - types/basetypes: Prevented panic in the `SetValue` types `Equal` method when the receiver has a nil `elementType` ([#​961](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/961)) - resource: Ensured computed-only dynamic attributes will not cause `wrong final value type` errors during planning ([#​969](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/969)) ### [`v1.7.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.7.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.6.1...v1.7.0) BREAKING CHANGES: - function: All parameters must be explicitly named via the `Name` field ([#​964](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964)) - function: `DefaultParameterNamePrefix` and `DefaultVariadicParameterName` constants have been removed ([#​964](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/964)) FEATURES: - types/basetypes: Added `DynamicType` and `DynamicValue` implementations for dynamic value handling ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - types/basetypes: Added interfaces `basetypes.DynamicTypable`, `basetypes.DynamicValuable`, and `basetypes.DynamicValuableWithSemanticEquals` for dynamic custom type and value implementations ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - resource/schema: Added `DynamicAttribute` implementation for dynamic value handling ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - datasource/schema: Added `DynamicAttribute` implementation for dynamic value handling ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - provider/schema: Added `DynamicAttribute` implementation for dynamic value handling ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - function: Added `DynamicParameter` and `DynamicReturn` for dynamic value handling\` ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - resource/schema/dynamicdefault: New package with `StaticValue` implementation for dynamic schema-based default values ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - resource/schema/dynamicplanmodifier: New package with built-in implementations for dynamic value plan modification. ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - resource/schema/defaults: New `Dynamic` interface for dynamic schema-based default implementations ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - resource/schema/planmodifier: New `Dynamic` interface for dynamic value plan modification implementations ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) - schema/validator: New `Dynamic` interface for dynamic value schema validation ([#​147](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/147)) ### [`v1.6.1`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.6.1) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.6.0...v1.6.1) NOTES: - all: The `v1.6.0` release updated this Go module to Go 1.21 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.21 release notes](https://go.dev/doc/go1.21) before upgrading. Any consumers building on earlier Go versions may experience errors ([#​937](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937)) BUG FIXES: - resource/schema: Ensured invalid attribute default value errors are raised ([#​930](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/930)) - function: Added implementation validation to `function.Definition` to ensure all parameter names (including the variadic parameter) are unique. ([#​926](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926)) - function: Updated the default parameter name to include the position of the parameter (i.e. `param1`, `param2`, etc.). Variadic parameters will default to `varparam`. ([#​926](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926)) ### [`v1.6.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.6.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.5.0...v1.6.0) BREAKING CHANGES: - function: Changed the framework type for variadic parameters to `types.TupleType`, where each element is the same element type. Provider-defined functions using a `types.List` for retrieving variadic argument data will need to update their code to use `types.Tuple`. ([#​923](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/923)) - function: Altered the `RunResponse` type, replacing `Diagnostics` with `FuncError` ([#​925](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925)) - diag: Removed `DiagnosticWithFunctionArgument` interface. Removed `NewArgumentErrorDiagnostic()`, `NewArgumentWarningDiagnostic()` and `WithFunctionArgument()` functions. Removed `AddArgumentError()` and `AddArgumentWarning()` methods from `Diagnostics`. ([#​925](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925)) FEATURES: - resource: Added the `ResourceWithMoveState` interface, which enables state moves across resource types with Terraform 1.8 and later ([#​917](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/917)) ENHANCEMENTS: - privatestate: Added support for `SetKey()` method to fully remove key with `nil` or zero-length value ([#​910](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/910)) - function: Added `FuncError` type, required for `RunResponse` ([#​925](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925)) - function: Added `NewFuncError()` and `NewArgumentFuncError()` functions, which create a `FuncError` ([#​925](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925)) - function: Added `ConcatFuncErrors()` and `FuncErrorFromDiags()` helper functions for use when working with `FuncError` ([#​925](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925)) ### [`v1.5.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.5.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.4.2...v1.5.0) NOTES: - all: Update `google.golang.org/grpc` dependency to address CVE-2023-44487 ([#​865](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/865)) - Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. ([#​889](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889)) FEATURES: - function: New package for implementing provider defined functions ([#​889](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889)) ENHANCEMENTS: - types/basetypes: Added `TupleType` and `TupleValue` implementations, which are only necessary for dynamic value handling ([#​870](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/870)) - diag: Added `NewArgumentErrorDiagnostic()` and `NewArgumentWarningDiagnostic()` functions, which create diagnostics with the function argument position set ([#​889](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889)) - provider: Added `ProviderWithFunctions` interface for implementing provider defined functions ([#​889](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889)) - diag: Added `(Diagnostics).AddArgumentError()` and `(Diagnostics).AddArgumentWarning()` methods for appending function argument diagnostics ([#​889](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889)) ### [`v1.4.2`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.4.2) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.4.1...v1.4.2) BUG FIXES: - resource: Add `Private` field to `DeleteResource` type, which was missing to allow provider logic to update private state on errors ([#​863](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/863)) - resource: Prevented private state data loss if resource destruction returned an error ([#​863](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/863)) ### [`v1.4.1`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.4.1) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.4.0...v1.4.1) BUG FIXES: - providerserver: Prevented `Data Source Type Not Found` and `Resource Type Not Found` errors with Terraform 1.6 and later ([#​853](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/853)) ### [`v1.4.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.4.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.3.5...v1.4.0) NOTES: - all: This Go module has been updated to Go 1.20 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.20 release notes](https://go.dev/doc/go1.20) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#​835](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/835)) FEATURES: - providerserver: Upgrade to protocol versions 5.4 and 6.4, which can significantly reduce memory usage with Terraform 1.6 and later when a configuration includes multiple instances of the same provider ([#​828](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/828)) ### [`v1.3.5`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.3.5) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.3.4...v1.3.5) NOTES: - internal: Changed provider defined method execution logs from `DEBUG` log level to `TRACE` ([#​818](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/818)) BUG FIXES: - internal/fwserver: Prevented `Invalid Element Type` diagnostics for nested attributes and blocks implementing `CustomType` field ([#​823](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/823)) ### [`v1.3.4`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.3.4) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.3.3...v1.3.4) BUG FIXES: - types/basetypes: Prevented Float64Value Terraform data consistency errors for numbers with high precision floating point rounding errors ([#​817](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/817)) ### [`v1.3.3`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.3.3) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.3.2...v1.3.3) BUG FIXES: - types/basetypes: Minor reduction of memory allocations for `ObjectValue` type `ToTerraformValue()` method, which decreases provider operation durations at scale ([#​775](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/775)) - resource: Prevented panic during planning caused by `SetNestedAttribute` with nested attribute `Default` and multiple configured elements ([#​783](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/783)) - tfsdk: Prevented `Value Conversion Error` diagnostics when using `Set()` method with base types instead of custom types ([#​806](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/806)) - providerserver: Significantly reduced memory usage for framework data handling operations, especially during the `PlanResourceChange` RPC ([#​792](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/792)) ### [`v1.3.2`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.3.2) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.3.1...v1.3.2) BUG FIXES: - resource/schema: Ensured `Default` implementations received request `Path` and have response `Diagnostics` handled ([#​778](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/778)) - resource/schema: Prevented panics with `Default` implementations on list, map, and set where no response `Diagnostics` or `PlanValue` was returned ([#​778](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/778)) - providerserver: Ensured Terraform CLI interrupts (e.g. Ctrl-c) properly cancel the `context.Context` of inflight requests ([#​782](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/782)) - providerserver: Prevented caching of unused data and managed resource schemas ([#​784](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/784)) ### [`v1.3.1`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.3.1) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.3.0...v1.3.1) BUG FIXES: - datasource/schema: Ensure nested attribute and block Equal methods check nested attribute and block definition equality ([#​752](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/752)) - provider/metaschema: Ensure nested attribute Equal methods check nested attribute definition equality ([#​752](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/752)) - provider/schema: Ensure nested attribute and block Equal methods check nested attribute and block definition equality ([#​752](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/752)) - resource/schema: Ensure nested attribute and block Equal methods check nested attribute and block definition equality ([#​752](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/752)) - types/basetypes: Prevented panics in `ListType`, `MapType`, and `SetType` methods when `ElemType` field is not set ([#​714](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/714)) - resource/schema: Prevented `Value Conversion Error` diagnostics for attributes and blocks implementing both `CustomType` and `PlanModifiers` fields ([#​754](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/754)) - types/basetypes: Prevented panic with `ListTypableWithSemanticEquals` and `SetTypableWithSemanticEquals` when proposed new element count was greater than prior element count ([#​772](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/772)) ### [`v1.3.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.3.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.2.0...v1.3.0) NOTES: - datasource/schema: The `Schema` type `Validate()` method has been deprecated in preference of `ValidateImplementation()` ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - provider/metaschema: The `Schema` type `Validate()` method has been deprecated in preference of `ValidateImplementation()` ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - provider/schema: The `Schema` type `Validate()` method has been deprecated in preference of `ValidateImplementation()` ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - resource/schema: The `Schema` type `Validate()` method has been deprecated in preference of `ValidateImplementation()` ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) ENHANCEMENTS: - datasource/schema: Added `Schema` type `ValidateImplementation()` method, which performs framework-defined schema validation and can be used in unit testing ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - provider/metaschema: Added `Schema` type `ValidateImplementation()` method, which performs framework-defined schema validation and can be used in unit testing ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - provider/schema: Added `Schema` type `ValidateImplementation()` method, which performs framework-defined schema validation and can be used in unit testing ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - resource/schema: Added `Schema` type `ValidateImplementation()` method, which performs framework-defined schema validation and can be used in unit testing ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - datasource/schema: Raise validation errors if attempting to use top-level `for_each` attribute name, which requires special Terraform configuration syntax to be usable by the data source ([#​704](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/704)) - resource/schema: Raise validation errors if attempting to use top-level `for_each` attribute name, which requires special Terraform configuration syntax to be usable by the resource ([#​704](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/704)) - datasource/schema: Raise validation errors if attempting to use attribute names with leading numerics (0-9), which are invalid in the Terraform configuration language ([#​705](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/705)) - provider/schema: Raise validation errors if attempting to use attribute names with leading numerics (0-9), which are invalid in the Terraform configuration language ([#​705](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/705)) - resource/schema: Raise validation errors if attempting to use attribute names with leading numerics (0-9), which are invalid in the Terraform configuration language ([#​705](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/705)) - all: Improved SDK logging performance when messages would be skipped due to configured logging level ([#​744](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/744)) BUG FIXES: - datasource/schema: Raise errors with `ListAttribute`, `MapAttribute`, `ObjectAttribute`, and `SetAttribute` implementations instead of panics when missing required `AttributeTypes` or `ElementTypes` fields ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - provider/metaschema: Raise errors with `ListAttribute`, `MapAttribute`, `ObjectAttribute`, and `SetAttribute` implementations instead of panics when missing required `AttributeTypes` or `ElementTypes` fields ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - provider/schema: Raise errors with `ListAttribute`, `MapAttribute`, `ObjectAttribute`, and `SetAttribute` implementations instead of panics when missing required `AttributeTypes` or `ElementTypes` fields ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - resource/schema: Raise errors with `ListAttribute`, `MapAttribute`, `ObjectAttribute`, and `SetAttribute` implementations instead of panics when missing required `AttributeTypes` or `ElementTypes` fields ([#​699](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/699)) - tfsdk: Raise framework errors instead of generic upstream errors or panics when encountering unexpected values with `Set()` methods ([#​715](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/715)) ### [`v1.2.0`](https://redirect.github.com/hashicorp/terraform-plugin-framework/releases/tag/v1.2.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-plugin-framework/compare/v1.1.1...v1.2.0) NOTES: - New `DEBUG` level `Detected value change between proposed new state and prior state` log messages with the offending attribute path are now emitted when proposed new state value differences would cause the framework to automatically mark all unconfigured `Computed` attributes as unknown during planning. These can be used to troubleshoot potential resource implementation issues, or framework and Terraform plan logic bugs. ([#​630](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/630)) - This Go module has been updated to Go 1.19 per the [Go support policy](https://golang.org/doc/devel/release.html#policy). Any consumers building on earlier Go versions may experience errors. ([#​682](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/682)) FEATURES: - resource/schema: Introduce packages, interface types, and built-in static value functionality for schema-based default values ([#​674](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/674)) ENHANCEMENTS: - internal/fwserver: Added `DEBUG` logging to aid troubleshooting unexpected plans with unknown values ([#​630](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/630)) - types/basetypes: Add `BoolValue` type `NewBoolPointerValue()` creation function and `ValueBoolPointer()` method ([#​689](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/689)) - types/basetypes: Add `Float64Value` type `NewFloat64PointerValue()` creation function and `ValueFloat64Pointer()` method ([#​689](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/689)) - types/basetypes: Add `Int64Value` type `NewInt64PointerValue()` creation function and `ValueInt64Pointer()` method ([#​689](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/689)) - types/basetypes: Add `StringValue` type `NewStringPointerValue()` creation function and `ValueStringPointer()` method ([#​689](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/689)) - resource/schema: Added `Default` fields to `Attribute` types, which support schema-based default values ([#​674](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/674)) BUG FIXES: - types/basetypes: Fixed `Float64Type` type `ValueFromTerraform` method to handle valid, stringified numbers from Terraform ([#​648](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/648)) - resource: Prevented nested attribute and block plan modifications from being undone ([#​669](https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/669))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

forking-renovate[bot] commented 3 months ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: third_party/github.com/hashicorp/terraform-provider-google-beta/go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading github.com/dnaeon/go-vcr v1.0.1
go: downloading github.com/hashicorp/terraform-plugin-framework v1.12.0
go: downloading github.com/hashicorp/terraform-plugin-log v0.9.0
go: downloading github.com/hashicorp/terraform-plugin-go v0.24.0
go: downloading github.com/hashicorp/terraform-plugin-mux v0.8.0
go: downloading google.golang.org/api v0.155.0
go: downloading golang.org/x/oauth2 v0.21.0
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading google.golang.org/grpc v1.66.2
go: downloading github.com/GoogleCloudPlatform/declarative-resource-client-library v1.51.0
go: downloading cloud.google.com/go/bigtable v1.19.0
go: downloading github.com/gammazero/workerpool v0.0.0-20181230203049-86a96b5d5d92
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117
go: downloading google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80
go: downloading cloud.google.com/go v0.112.0
go: downloading github.com/hashicorp/go-hclog v1.5.0
go: downloading github.com/vmihailenco/msgpack/v5 v5.4.1
go: downloading golang.org/x/crypto v0.24.0
go: downloading github.com/hashicorp/go-plugin v1.6.1
go: downloading cloud.google.com/go/compute/metadata v0.3.0
go: downloading cloud.google.com/go/compute v1.23.3
go: downloading github.com/googleapis/gax-go/v2 v2.12.0
go: downloading github.com/gammazero/deque v0.0.0-20180920172122-f6adf94963e4
go: downloading cloud.google.com/go/iam v1.1.5
go: downloading cloud.google.com/go/longrunning v0.5.4
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/vmihailenco/tagparser/v2 v2.0.0
go: downloading github.com/zclconf/go-cty v1.13.1
go: downloading github.com/hashicorp/hcl/v2 v2.14.1
go: downloading github.com/google/s2a-go v0.1.7
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1
go: downloading github.com/hashicorp/yamux v0.1.1
go: downloading github.com/hashicorp/terraform-registry-address v0.2.3
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1
go: downloading golang.org/x/time v0.5.0
go: downloading go.opentelemetry.io/otel v1.21.0
go: downloading go.opentelemetry.io/otel/trace v1.21.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117
go: downloading github.com/agext/levenshtein v1.2.2
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2
go: downloading go.opentelemetry.io/otel/metric v1.21.0
go: downloading github.com/hashicorp/terraform-svchost v0.1.1
go: downloading github.com/go-logr/logr v1.3.0
go: downloading github.com/envoyproxy/go-control-plane v0.12.1-0.20240621013728-1eb8caab5155
go: downloading github.com/cncf/xds/go v0.0.0-20240423153145-555b57ec207b
go: downloading github.com/envoyproxy/protoc-gen-validate v1.0.4
go: downloading golang.org/x/sync v0.7.0
go: downloading cel.dev/expr v0.15.0
go: downloading github.com/hashicorp/terraform-provider-google v1.20.0
go: github.com/hashicorp/terraform-provider-google-beta/scripts imports
    github.com/hashicorp/terraform-provider-clean-google-beta/google-beta/provider: cannot find module providing package github.com/hashicorp/terraform-provider-clean-google-beta/google-beta/provider
go: github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe tested by
    github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe.test imports
    github.com/hashicorp/terraform-provider-google/google/acctest: cannot find module providing package github.com/hashicorp/terraform-provider-google/google/acctest
go: github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe tested by
    github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe.test imports
    github.com/hashicorp/terraform-provider-google/google/envvar: cannot find module providing package github.com/hashicorp/terraform-provider-google/google/envvar
go: github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe tested by
    github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe.test imports
    github.com/hashicorp/terraform-provider-google/google/tpgresource: cannot find module providing package github.com/hashicorp/terraform-provider-google/google/tpgresource
go: github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe tested by
    github.com/hashicorp/terraform-provider-google-beta/google-beta/provider/universe.test imports
    github.com/hashicorp/terraform-provider-google/google/transport: cannot find module providing package github.com/hashicorp/terraform-provider-google/google/transport
google-oss-prow[bot] commented 3 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign jingyih for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/GoogleCloudPlatform/k8s-config-connector/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment