Skip to content

fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.40.1#49

Open
github-actions[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x
Open

fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.40.1#49
github-actions[bot] wants to merge 1 commit intomasterfrom
renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Nov 2, 2024

This PR contains the following updates:

Package Type Update Change
github.com/hashicorp/terraform-plugin-sdk/v2 require minor v2.34.0 -> v2.40.1

Release Notes

hashicorp/terraform-plugin-sdk (github.com/hashicorp/terraform-plugin-sdk/v2)

v2.40.1

Compare Source

BUG FIXES:

  • helper/schema: Fixed a bug that caused spurious diffs in the plan when resource identity is set but didn't change. (#​1582)

v2.40.0

Compare Source

NOTES:

  • This release moves the resource configuration generation logic for the -generate-config-out flag from Terraform Core to the SDKv2 for Terraform v1.14.0 and above. There should be no functionality changes for resource configuration generation in this release. (#​1559)
  • This Go module has been updated to Go 1.25 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#​1564)

v2.39.0

Compare Source

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

Compare Source

BUG FIXES:

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

v2.38.1

Compare Source

BUG FIXES:

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

v2.38.0

Compare Source

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

Compare Source

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.36.1

Compare Source

NOTES:

  • Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (#​1375)

BUG FIXES:

  • helper/schema: Fixed bug that allowed write-only attributes within set nested blocks. Any attribute within a set nested block with WriteOnly set to true will now trigger an error message. (#​1427)

v2.36.0

Compare Source

NOTES:

  • Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (#​1375)

FEATURES:

  • helper/schema: Added 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)
  • helper/validation: Added PreferWriteOnlyAttribute() validator that warns practitioners when a write-only version of a configured attribute is available. (#​1375)
  • schema/resource: Added ValidateRawResourceConfigFuncs field which allows resources to define validation logic during the ValidateResourceTypeConfig RPC. (#​1375)

v2.35.0

Compare Source

NOTES:

  • all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#​1373)
  • helper/schema: While this Go module will not receive support for ephemeral resource types, the provider server is updated to handle the new operations, which will be required to prevent errors when updating terraform-plugin-framework or terraform-plugin-mux in the future. (#​1390)

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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Nov 2, 2024
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 737986a to 8858bf0 Compare February 6, 2025 07:42
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.35.0 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.36.0 Feb 7, 2025
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 8858bf0 to 4836b5d Compare February 20, 2025 07:42
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.36.0 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.36.1 Feb 21, 2025
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 4836b5d to a94e254 Compare May 17, 2025 07:42
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.36.1 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.37.0 May 18, 2025
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from a94e254 to af84b2e Compare September 18, 2025 07:43
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.37.0 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.0 Sep 19, 2025
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from af84b2e to bace575 Compare September 23, 2025 07:42
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.0 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.1 Sep 24, 2025
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from bace575 to c510d40 Compare February 3, 2026 07:54
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.1 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.2 Feb 4, 2026
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from c510d40 to f034cb1 Compare February 28, 2026 07:46
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.2 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.39.0 Mar 1, 2026
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from f034cb1 to 8b3cf8e Compare March 11, 2026 07:54
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.39.0 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.40.0 Mar 12, 2026
@github-actions github-actions Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 8b3cf8e to 82a597c Compare April 29, 2026 08:29
@github-actions github-actions Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.40.0 fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.40.1 Apr 30, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants