fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.37.0 #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.26.1->v2.37.0Release Notes
hashicorp/terraform-plugin-sdk (github.com/hashicorp/terraform-plugin-sdk/v2)
v2.37.0Compare Source
NOTES:
identityattribute in Terraform configurationimportblocks, available in Terraform v1.12+. Theresource.Identityfield on theschema.Resourcestruct can be used to support identity by defining an identity schema. Once the identity schema is defined, you can read and store identity data in the state file with the newIdentityDatastruct that is available via theIdentity()method onschema.ResourceDataandschema.ResourceDiffstructs. (#1444)FEATURES:
TestResourceDataWithIdentityRawfunction for creating aResourceDatastruct with identity data for unit testing. (#1475)Identityfield toResourcethat supports defining an identity schema for managed resources only. (#1444)ImportStatePassthroughWithIdentityhelper that can support both identity and ID importing via a single field. (#1474)ENHANCEMENTS:
RequiredForImportandOptionalForImportfields to theSchemastruct, which are only valid for identity schemas. (#1444)ResourceDatato support passing of identity data in CRUD and import functions for managed resources. (#1444)BUG FIXES:
v2.36.1Compare Source
NOTES:
BUG FIXES:
WriteOnlyset totruewill now trigger an error message. (#1427)v2.36.0Compare Source
NOTES:
FEATURES:
WriteOnlyschema behavior for managed resource schemas to indicate a write-only attribute. Write-only attribute values are not saved to the Terraform plan or state artifacts. (#1375)PreferWriteOnlyAttribute()validator that warns practitioners when a write-only version of a configured attribute is available. (#1375)ValidateRawResourceConfigFuncsfield which allows resources to define validation logic during theValidateResourceTypeConfigRPC. (#1375)v2.35.0Compare Source
NOTES:
terraform-plugin-frameworkorterraform-plugin-muxin the future. (#1390)v2.34.0Compare Source
NOTES:
v2.33.0release updated this Go module to Go 1.21 per the Go support policy. It is recommended to review the Go 1.21 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#1318)FEATURES:
(Provider).ConfigureProviderfunction for configuring providers that support additional features, such as deferred actions. (#1335)(Resource).ResourceBehaviorto allow additional control over deferred action behavior during plan modification. (#1335)v2.33.0Compare Source
NOTES:
v2.32.0Compare Source
NOTES:
v2.31.0Compare Source
NOTES:
v2.30.0Compare Source
NOTES:
SDKVersionvariable,SDKPrereleasevariable, andSDKVersionString()function have been deprecated. Use the Go standard libraryruntime/debugpackage build information instead. (#1257)BUG FIXES:
SDKVersionvariable andSDKVersionString()function (#1257)(ResourceData).GetRawConfig()data is populated forProvider.ConfigureFuncandProvider.ConfigureContextFunc(#1270)(ResourceData).GetOkExists()second result istruewhen configuration contains zero-value data inProvider.ConfigureFuncandProvider.ConfigureContextFunc(#1270)v2.29.0Compare Source
NOTES:
FEATURES:
ENHANCEMENTS:
AllDiagandAnyDiag, which areSchemaValidateDiagFuncvariants ofAllandAny(#1155)StringInSliceerror diagnostic output to prevent confusion with values that contain spaces (#464)v2.28.0Compare Source
NOTES:
ResourcetypeEnableApplyLegacyTypeSystemErrorsandEnablePlanLegacyTypeSystemErrorsfields can be enabled to more easily discover resource data consistency errors which Terraform would normally demote to warning logs. Before enabling the flag in a production release for a resource, the resource should be exhaustively acceptance tested as there may be unrecoverable error situations for practitioners. It is recommended to first enable and test in environments where it is easy to clean up resources, potentially outside of Terraform. (#1227)ENHANCEMENTS:
ResourcetypeEnableLegacyTypeSystemApplyErrorsfield, which will prevent Terraform from demoting data consistency errors to warning logs duringApplyResourceChange(Create,Update, andDelete) operations with the resource (#1227)ResourcetypeEnableLegacyTypeSystemPlanErrorsfield, which can be used to prevent Terraform from demoting data consistency errors to warning logs duringPlanResourceChangeoperations with the resource (#1227)v2.27.0Compare Source
NOTES:
ResourcetypeSchemafield should switch to theSchemaMapmethod to ensure newSchemaFuncfield data is properly retrieved (#1217)ENHANCEMENTS:
ResourcetypeSchemaFuncfield andSchemaMapmethod, which can reduce resident memory usage with large schemas (#1217)Configuration
📅 Schedule: Branch creation - Between 08:00 AM and 10:59 AM ( * 8-10 * * * ) in timezone Europe/Paris, 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 created by Renovate.
Details
Check the default configuration and documentation.
See the logs on Datadog.
To replay this update, you can use the following
packageRuleson the Manual Run page:[{"matchPackageNames": ["*"], "enabled": false}, {"matchPackageNames": ["github.com/hashicorp/terraform-plugin-sdk/v2"], "enabled": true}]