Bumpsgithub.com/hashicorp/terraform-plugin-sdk/v2 from 2.36.1 to 2.37.0.
Release notes
Sourced fromgithub.com/hashicorp/terraform-plugin-sdk/v2's releases.
v2.37.0
NOTES:
- all: This Go module has been updated to Go 1.23 per theGo support policy. It is recommended to review theGo 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1445)
- all: This release contains new fields and structs for implmenting managed resource identity. Resource identity is data that is defined by a separate schema and is stored alongside resource state. Identity data is used by Terrform to uniquely identify a remote object and is meant to be immutable during the remote object's lifecycle. Resources that support identity can now be imported using the
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:
- helper/schema: Added new
TestResourceDataWithIdentityRaw
function for creating aResourceData
struct with identity data for unit testing. (#1475) - helper/schema: Added new
Identity
field toResource
that supports defining an identity schema for managed resources only. (#1444) - Added new
ImportStatePassthroughWithIdentity
helper that can support both identity and ID importing via a single field. (#1474)
ENHANCEMENTS:
- helper/schema: Added
RequiredForImport
andOptionalForImport
fields to theSchema
struct, which are only valid for identity schemas. (#1444) - helper/schema: Updated
ResourceData
to support passing of identity data in CRUD and import functions for managed resources. (#1444)
BUG FIXES:
- helper/schema: Fixed bug that blocked write-only attributes from being used with resources without update functions. (#1472)
v2.37.0-beta.1
NOTES:
- This beta pre-release continues the implementation of managed resource identity, which should now be used with Terraform v1.12.0-beta2. Managed resources now can support import by identity during plan and apply workflows. Managed resources that already support import via the
schema.Resource.Importer
field still need to set an ID during import when an identity is provided. TheRequiredForImport
andOptionalForImport
fields on the identity schema can be used to control the validation that Terraform core will apply to the import config block. (#1463)
v2.37.0-alpha.1
NOTES:
- all: This Go module has been updated to Go 1.23 per theGo support policy. It is recommended to review theGo 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1445)
- This alpha pre-release contains an initial implementation for managed resource identity, which can used with Terraform v1.12.0-alpha20250319, to store and read identity data during plan and apply workflows. A managed resource identity can be used by defining an identity schema in the
resource.Identity
field. Once the identity schema is defined, you can read and store identity data in the new IdentityData struct that is available via the newIdentity()
method on ResourceData and ResourceDiff structs. (#1444)
Changelog
Sourced fromgithub.com/hashicorp/terraform-plugin-sdk/v2's changelog.
2.37.0 (May 16, 2025)
NOTES:
- all: This Go module has been updated to Go 1.23 per theGo support policy. It is recommended to review theGo 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1445)
- all: This release contains new fields and structs for implmenting managed resource identity. Resource identity is data that is defined by a separate schema and is stored alongside resource state. Identity data is used by Terrform to uniquely identify a remote object and is meant to be immutable during the remote object's lifecycle. Resources that support identity can now be imported using the
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:
- helper/schema: Added new
TestResourceDataWithIdentityRaw
function for creating aResourceData
struct with identity data for unit testing. (#1475) - helper/schema: Added new
Identity
field toResource
that supports defining an identity schema for managed resources only. (#1444) - Added new
ImportStatePassthroughWithIdentity
helper that can support both identity and ID importing via a single field. (#1474)
ENHANCEMENTS:
- helper/schema: Added
RequiredForImport
andOptionalForImport
fields to theSchema
struct, which are only valid for identity schemas. (#1444) - helper/schema: Updated
ResourceData
to support passing of identity data in CRUD and import functions for managed resources. (#1444)
BUG FIXES:
- helper/schema: Fixed bug that blocked write-only attributes from being used with resources without update functions. (#1472)
2.37.0-beta.1 (April 18, 2025)
NOTES:
- This beta pre-release continues the implementation of managed resource identity, which should now be used with Terraform v1.12.0-beta2. Managed resources now can support import by identity during plan and apply workflows. Managed resources that already support import via the
schema.Resource.Importer
field still need to set an ID during import when an identity is provided. TheRequiredForImport
andOptionalForImport
fields on the identity schema can be used to control the validation that Terraform core will apply to the import config block. (#1463)
2.37.0-alpha.1 (March 20, 2025)
NOTES:
- all: This Go module has been updated to Go 1.23 per theGo support policy. It is recommended to review theGo 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1445)
- This alpha pre-release contains an initial implementation for managed resource identity, which can used with Terraform v1.12.0-alpha20250319, to store and read identity data during plan and apply workflows. A managed resource identity can be used by defining an identity schema in the
resource.Identity
field. Once the identity schema is defined, you can read and store identity data in the new IdentityData struct that is available via the newIdentity()
method on ResourceData and ResourceDiff structs. (#1444)
Commits
d636e58
Update changelogd644d7d
Update meta package SDKVersion5ffe9fb
build(deps): bump github.com/hashicorp/terraform-plugin-go (#1486)d547ff7
build(deps): bump github.com/hashicorp/terraform-json (#1482)67a5b0a
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#1483)39397e1
build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#1484)b3361de
github: Use Dependabot to keep Actions updated (#1481)104e551
ResourceIdentity: Validate that identities do not change after Terraform stor...d40c432
Prep changelogs forv2.37.0
release (#1479)5e69f97
Add catalog metadata (META.d) (#1480)- Additional commits viewable incompare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting@dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumpsgithub.com/hashicorp/terraform-plugin-sdk/v2 from 2.36.1 to 2.37.0.
Release notes
Sourced fromgithub.com/hashicorp/terraform-plugin-sdk/v2's releases.
Changelog
Sourced fromgithub.com/hashicorp/terraform-plugin-sdk/v2's changelog.
Commits
d636e58
Update changelogd644d7d
Update meta package SDKVersion5ffe9fb
build(deps): bump github.com/hashicorp/terraform-plugin-go (#1486)d547ff7
build(deps): bump github.com/hashicorp/terraform-json (#1482)67a5b0a
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#1483)39397e1
build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#1484)b3361de
github: Use Dependabot to keep Actions updated (#1481)104e551
ResourceIdentity: Validate that identities do not change after Terraform stor...d40c432
Prep changelogs forv2.37.0
release (#1479)5e69f97
Add catalog metadata (META.d) (#1480)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)