Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Apr 19, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 -> v2.38.1 age confidence

Release Notes

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

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)

v2.34.0

Compare Source

NOTES:

  • all: The 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)
  • This release contains support for deferred actions, which is an experimental feature only available in prerelease builds of Terraform 1.9 and later. This functionality is subject to change and is not protected by version compatibility guarantees. (#​1335)

FEATURES:

  • helper/schema: Added (Provider).ConfigureProvider function for configuring providers that support additional features, such as deferred actions. (#​1335)
  • helper/schema: Added (Resource).ResourceBehavior to allow additional control over deferred action behavior during plan modification. (#​1335)

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 was generated by Mend Renovate. View the repository job log.

Copy link
Author

renovate bot commented Apr 19, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 24 additional dependencies were updated

Details:

Package Change
github.com/hashicorp/terraform-json v0.21.0 -> v0.25.0
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 -> v1.5.0
github.com/hashicorp/go-hclog v1.5.0 -> v1.6.3
github.com/hashicorp/go-plugin v1.6.0 -> v1.6.3
github.com/hashicorp/go-version v1.6.0 -> v1.7.0
github.com/hashicorp/hcl/v2 v2.19.1 -> v2.23.0
github.com/hashicorp/terraform-plugin-go v0.22.1 -> v0.27.0
github.com/hashicorp/terraform-registry-address v0.2.3 -> v0.2.5
github.com/zclconf/go-cty v1.14.2 -> v1.16.2
golang.org/x/crypto v0.36.0 -> v0.38.0
golang.org/x/mod v0.17.0 -> v0.24.0
golang.org/x/net v0.38.0 -> v0.39.0
golang.org/x/oauth2 v0.16.0 -> v0.26.0
golang.org/x/sync v0.12.0 -> v0.14.0
golang.org/x/sys v0.31.0 -> v0.33.0
golang.org/x/term v0.30.0 -> v0.32.0
golang.org/x/text v0.23.0 -> v0.25.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 -> v0.0.0-20250218202821-56aae31c358a
google.golang.org/grpc v1.62.1 -> v1.72.1
google.golang.org/protobuf v1.33.0 -> v1.36.6

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 5786e6e to 3f84623 Compare April 28, 2025 17:25
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 3f84623 to 6f16cb4 Compare May 17, 2025 04:13
@renovate renovate bot changed the title Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.36.1 Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.37.0 May 17, 2025
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 6f16cb4 to 948485f Compare August 11, 2025 03:52
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 948485f to a0aa1d8 Compare September 18, 2025 15:44
@renovate renovate bot changed the title Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.37.0 Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.0 Sep 18, 2025
Copy link
Author

renovate bot commented Sep 18, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: module github.com/hashicorp/terraform-plugin-sdk/v2@v2.38.1 requires go >= 1.24.0; switching to go1.24.8
go: downloading go1.24.8 (linux/amd64)
go: download go1.24.8: golang.org/toolchain@v0.0.1-go1.24.8.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from a0aa1d8 to 88ae148 Compare September 23, 2025 19:49
@renovate renovate bot changed the title Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.0 Update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.38.1 Sep 23, 2025
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-sdk-v2-2.x branch from 88ae148 to b153738 Compare October 10, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants