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.0
Release Notes
hashicorp/terraform-plugin-sdk (github.com/hashicorp/terraform-plugin-sdk/v2)
v2.37.0
Compare Source
NOTES:
identity
attribute in Terraform configurationimport
blocks, available in Terraform v1.12+. Theresource.Identity
field on theschema.Resource
struct 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 newIdentityData
struct that is available via theIdentity()
method onschema.ResourceData
andschema.ResourceDiff
structs. (#1444)FEATURES:
TestResourceDataWithIdentityRaw
function for creating aResourceData
struct with identity data for unit testing. (#1475)Identity
field toResource
that supports defining an identity schema for managed resources only. (#1444)ImportStatePassthroughWithIdentity
helper that can support both identity and ID importing via a single field. (#1474)ENHANCEMENTS:
RequiredForImport
andOptionalForImport
fields to theSchema
struct, which are only valid for identity schemas. (#1444)ResourceData
to support passing of identity data in CRUD and import functions for managed resources. (#1444)BUG FIXES:
v2.36.1
Compare Source
NOTES:
BUG FIXES:
WriteOnly
set totrue
will now trigger an error message. (#1427)v2.36.0
Compare Source
NOTES:
FEATURES:
WriteOnly
schema 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)ValidateRawResourceConfigFuncs
field which allows resources to define validation logic during theValidateResourceTypeConfig
RPC. (#1375)v2.35.0
Compare Source
NOTES:
terraform-plugin-framework
orterraform-plugin-mux
in the future. (#1390)v2.34.0
Compare Source
NOTES:
v2.33.0
release 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).ConfigureProvider
function for configuring providers that support additional features, such as deferred actions. (#1335)(Resource).ResourceBehavior
to allow additional control over deferred action behavior during plan modification. (#1335)v2.33.0
Compare Source
NOTES:
v2.32.0
Compare Source
NOTES:
v2.31.0
Compare Source
NOTES:
v2.30.0
Compare Source
NOTES:
SDKVersion
variable,SDKPrerelease
variable, andSDKVersionString()
function have been deprecated. Use the Go standard libraryruntime/debug
package build information instead. (#1257)BUG FIXES:
SDKVersion
variable andSDKVersionString()
function (#1257)(ResourceData).GetRawConfig()
data is populated forProvider.ConfigureFunc
andProvider.ConfigureContextFunc
(#1270)(ResourceData).GetOkExists()
second result istrue
when configuration contains zero-value data inProvider.ConfigureFunc
andProvider.ConfigureContextFunc
(#1270)v2.29.0
Compare Source
NOTES:
FEATURES:
ENHANCEMENTS:
AllDiag
andAnyDiag
, which areSchemaValidateDiagFunc
variants ofAll
andAny
(#1155)StringInSlice
error diagnostic output to prevent confusion with values that contain spaces (#464)v2.28.0
Compare Source
NOTES:
Resource
typeEnableApplyLegacyTypeSystemErrors
andEnablePlanLegacyTypeSystemErrors
fields 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:
Resource
typeEnableLegacyTypeSystemApplyErrors
field, which will prevent Terraform from demoting data consistency errors to warning logs duringApplyResourceChange
(Create
,Update
, andDelete
) operations with the resource (#1227)Resource
typeEnableLegacyTypeSystemPlanErrors
field, which can be used to prevent Terraform from demoting data consistency errors to warning logs duringPlanResourceChange
operations with the resource (#1227)v2.27.0
Compare Source
NOTES:
Resource
typeSchema
field should switch to theSchemaMap
method to ensure newSchemaFunc
field data is properly retrieved (#1217)ENHANCEMENTS:
Resource
typeSchemaFunc
field andSchemaMap
method, 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
packageRules
on the Manual Run page:[{"matchPackageNames": ["*"], "enabled": false}, {"matchPackageNames": ["github.com/hashicorp/terraform-plugin-sdk/v2"], "enabled": true}]