Terraform Plugin SDK enables building plugins (providers) to manage any service providers or custom in-house solutions
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:
NOTES:
NOTES:
NOTES:
NOTES:
SDKVersion
variable, SDKPrerelease
variable, and SDKVersionString()
function have been deprecated. Use the Go standard library runtime/debug
package build information instead. (#1257)BUG FIXES:
SDKVersion
variable and SDKVersionString()
function (#1257)(ResourceData).GetRawConfig()
data is populated for Provider.ConfigureFunc
and Provider.ConfigureContextFunc
(#1270)(ResourceData).GetOkExists()
second result is true
when configuration contains zero-value data in Provider.ConfigureFunc
and Provider.ConfigureContextFunc
(#1270)NOTES:
FEATURES:
ENHANCEMENTS:
NOTES:
Resource
type EnableApplyLegacyTypeSystemErrors
and EnablePlanLegacyTypeSystemErrors
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
type EnableLegacyTypeSystemApplyErrors
field, which will prevent Terraform from demoting data consistency errors to warning logs during ApplyResourceChange
(Create
, Update
, and Delete
) operations with the resource (#1227)Resource
type EnableLegacyTypeSystemPlanErrors
field, which can be used to prevent Terraform from demoting data consistency errors to warning logs during PlanResourceChange
operations with the resource (#1227)NOTES:
Resource
type Schema
field should switch to the SchemaMap
method to ensure new SchemaFunc
field data is properly retrieved (#1217)ENHANCEMENTS:
BUG FIXES:
NOTES:
PrefixedUniqueId()
and UniqueId()
. Use the helper/id
package instead. These deprecations are to assist in migrating to terraform-plugin-testing (#1167)RetryContext()
, StateChangeConf
, and associated *Error
types. Use the helper/retry
package instead. These deprecations are to assist in migrating to terraform-plugin-testing (#1167)ENHANCEMENTS:
helper/id
package added. resource.PrefixedUniqueId()
and resource.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)