Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.34.0 #50
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.16.0
->v2.34.0
Release Notes
hashicorp/terraform-plugin-sdk (github.com/hashicorp/terraform-plugin-sdk/v2)
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)v2.26.1
Compare Source
BUG FIXES:
v2.26.0
Compare Source
NOTES:
PrefixedUniqueId()
andUniqueId()
. Use thehelper/id
package instead. These deprecations are to assist in migrating to terraform-plugin-testing (#1167)RetryContext()
,StateChangeConf
, and associated*Error
types. Use thehelper/retry
package instead. These deprecations are to assist in migrating to terraform-plugin-testing (#1167)ENHANCEMENTS:
helper/id
package added.resource.PrefixedUniqueId()
andresource.UniqueId()
are deprecated,helper/id
should be used instead.helper/resource
now contains aliases to the migrated code (#1167)helper/retry
package added.resource.RetryContext()
,resource.StateChangeConf
, and associated*Error
types are deprecated,helper/retry
should be used instead. `helper/resource now contains aliases to the migrated code (#1167)v2.25.0
Compare Source
BUG FIXES:
v2.24.1
Compare Source
BUG FIXES:
TestStep
typeImportStateCheck
field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)Providers
orProviderFactories
(#1091)TestStep
typeConfig
field already contained provider configuration block (#1092)v2.24.0
Compare Source
ENHANCEMENTS:
TestStep
typeRefreshState
field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)BUG FIXES:
TestStep
typeImportStateVerify
field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)v2.23.0
Compare Source
ENHANCEMENTS:
TRACE
logging (#1059)terraform plan
output toTRACE
logging (#1058)BUG FIXES:
Inconsistent dependency lock file
errors when usingExternalProviders
outside thehashicorp
namespace (#1057)v2.22.0
Compare Source
ENHANCEMENTS:
BUG FIXES:
v2.21.0
Compare Source
NOTES:
BUG FIXES:
TestStep
typeTaint
field usage to properly recreate resources (#1031)RawConfig
,RawPlan
, andRawState
are correctly copied during planning with recreation (#1024)v2.20.0
Compare Source
NOTES:
NewTransport()
is now deprecated in favour of using the newNewLoggingHTTPTransport()
orNewSubsystemLoggingHTTPTransport()
(#1006)FEATURES:
NewLoggingHTTPTransport()
andNewSubsystemLoggingHTTPTransport()
functions, providinghttp.RoundTripper
Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)v2.19.0
Compare Source
NOTES:
terraform-plugin-log
dependency has been updated to v0.6.0, which includes log filtering support and breaking changes ofWith()
toSetField()
function names. Any provider logging which calls those functions may require updates. (#1003)v2.18.0
Compare Source
ENHANCEMENTS:
TF_ACC_LOG
,TF_LOG_CORE
, andTF_LOG_PROVIDER
environment variable handling for Terraform versions 0.15 and later (#993)BUG FIXES:
v2.17.0
Compare Source
NOTES:
TestCase
orTestStep
level. Using theTestStep
handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)ENHANCEMENTS:
TestStep
typeExternalProviders
,ProtoV5ProviderFactories
,ProtoV6ProviderFactories
, andProviderFactories
fields (#972)BUG FIXES:
terraform state show
command when not using theTestStep
typeTaint
field (#972)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 is behind base branch, 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.