Skip to content

chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.27.0 to 2.39.0 - #143

Closed
dependabot[bot] wants to merge 1 commit into
v2from
dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.39.0
Closed

chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.27.0 to 2.39.0#143
dependabot[bot] wants to merge 1 commit into
v2from
dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.39.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 5, 2026

Copy link
Copy Markdown

Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.27.0 to 2.39.0.

Release notes

Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

v2.39.0

ENHANCEMENTS:

  • helper/schema: Added support for deprecation messages on attributes and blocks, which are now populated from the Schema's Deprecated field and passed through to the protocol layer (#1553)

v2.38.2

BUG FIXES:

  • all: Prevent "Missing Resource Identity" error if the resource returned any errors during apply. (#1541)

v2.38.1

BUG FIXES:

  • all: Prevent identity change validation from raising an error when prior identity is empty (all attributes are null) (#1527)

v2.38.0

NOTES:

  • all: This Go module has been updated to Go 1.24 per the Go support policy. It is recommended to review the Go 1.24 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1518)
  • helper/schema: Update the provider server to handle the ListResource RPCs by returning an error since they are not supported by SDKv2. (#1521)
  • helper/schema: Update the provider server to handle Action RPCs by returning an error since they are not supported by SDKv2. (#1522)

ENHANCEMENTS:

  • helper/schema: Added new helper methods for converting Resource and Identity schemas to protocol representations. (#1504)
  • helper/schema: Added an additional validation check to ensure the resource identity object is not null. (#1513)
  • helper/schema: Added the TfTypeIdentityState() and TfTypeResourceState() methods to ResourceData which return the identity and state values as a tftypes.Value. (#1508)

v2.37.0

NOTES:

  • all: This Go module has been updated to Go 1.23 per the Go support policy. It is recommended to review the Go 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 configuration import blocks, available in Terraform v1.12+. The resource.Identity field on the schema.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 new IdentityData struct that is available via the Identity() method on schema.ResourceData and schema.ResourceDiff structs. (#1444)

FEATURES:

  • helper/schema: Added new TestResourceDataWithIdentityRaw function for creating a ResourceData struct with identity data for unit testing. (#1475)
  • helper/schema: Added new Identity field to Resource 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 and OptionalForImport fields to the Schema 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

... (truncated)

Changelog

Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

2.39.0 (February 27, 2026)

ENHANCEMENTS:

  • helper/schema: Added support for deprecation messages on attributes and blocks, which are now populated from the Schema's Deprecated field and passed through to the protocol layer (#1553)

2.38.2 (February 02, 2026)

BUG FIXES:

  • all: Prevent "Missing Resource Identity" error if the resource returned any errors during apply. (#1541)

2.38.1 (September 22, 2025)

BUG FIXES:

  • all: Prevent identity change validation from raising an error when prior identity is empty (all attributes are null) (#1527)

2.38.0 (September 17, 2025)

NOTES:

  • all: This Go module has been updated to Go 1.24 per the Go support policy. It is recommended to review the Go 1.24 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1518)
  • helper/schema: Update the provider server to handle the ListResource RPCs by returning an error since they are not supported by SDKv2. (#1521)
  • helper/schema: Update the provider server to handle Action RPCs by returning an error since they are not supported by SDKv2. (#1522)

ENHANCEMENTS:

  • helper/schema: Added new helper methods for converting Resource and Identity schemas to protocol representations. (#1504)
  • helper/schema: Added an additional validation check to ensure the resource identity object is not null. (#1513)
  • helper/schema: Added the TfTypeIdentityState() and TfTypeResourceState() methods to ResourceData which return the identity and state values as a tftypes.Value. (#1508)

2.37.0 (May 16, 2025)

NOTES:

  • all: This Go module has been updated to Go 1.23 per the Go support policy. It is recommended to review the Go 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 configuration import blocks, available in Terraform v1.12+. The resource.Identity field on the schema.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 new IdentityData struct that is available via the Identity() method on schema.ResourceData and schema.ResourceDiff structs. (#1444)

FEATURES:

  • helper/schema: Added new TestResourceDataWithIdentityRaw function for creating a ResourceData struct with identity data for unit testing. (#1475)
  • helper/schema: Added new Identity field to Resource 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 and OptionalForImport fields to the Schema 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)

... (truncated)

Commits
  • f661d42 Update changelog
  • 19ef5a4 Update meta package SDKVersion
  • 9a14d44 feat: add deprecation messages for attributes and blocks in configschema (#1553)
  • ebc3afe build(deps): bump github.com/hashicorp/terraform-plugin-go (#1558)
  • da4aa1f build(deps): bump github.com/hashicorp/terraform-exec (#1554)
  • ddfdf8f build(deps): bump github.com/hashicorp/copywrite in /tools (#1552)
  • b9a3a01 build(deps): bump golang.org/x/crypto from 0.47.0 to 0.48.0 (#1551)
  • 7a74af2 build(deps): bump github.com/hashicorp/copywrite from 0.24.0 to 0.24.2 in /to...
  • e04f990 Update changelog
  • c68987b Update meta package SDKVersion
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.27.0 to 2.39.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-sdk@v2.27.0...v2.39.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-version: 2.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Mar 11, 2026

Copy link
Copy Markdown
Author

Superseded by #147.

@dependabot dependabot Bot closed this Mar 11, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.39.0 branch March 11, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants