build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.36.1 to 2.37.0
Merged
Number: #400
Type: Pull Request
State: Merged
Type: Pull Request
State: Merged
Author:
dependabot[bot]
Association: Contributor
Comments: 0
Association: Contributor
Comments: 0
Created:
May 19, 2025 at 04:13 AM UTC
(6 months ago)
(6 months ago)
Updated:
May 19, 2025 at 08:15 AM UTC
(6 months ago)
(6 months ago)
Merged:
May 19, 2025 at 08:15 AM UTC
(6 months ago)
by johnstcn
(6 months ago)
by johnstcn
Time to Close:
about 4 hours
Labels:
dependencies go
dependencies go
Assignees:
johnstcn
johnstcn
Description:
Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.36.1 to 2.37.0.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.
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
identityattribute in Terraform configurationimportblocks, available in Terraform v1.12+. Theresource.Identityfield on theschema.Resourcestruct 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 newIdentityDatastruct that is available via theIdentity()method onschema.ResourceDataandschema.ResourceDiffstructs. (#1444)FEATURES:
- helper/schema: Added new
TestResourceDataWithIdentityRawfunction for creating aResourceDatastruct with identity data for unit testing. (#1475)- helper/schema: Added new
Identityfield toResourcethat supports defining an identity schema for managed resources only. (#1444)- Added new
ImportStatePassthroughWithIdentityhelper that can support both identity and ID importing via a single field. (#1474)ENHANCEMENTS:
- helper/schema: Added
RequiredForImportandOptionalForImportfields to theSchemastruct, which are only valid for identity schemas. (#1444)- helper/schema: Updated
ResourceDatato 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.Importerfield still need to set an ID during import when an identity is provided. TheRequiredForImportandOptionalForImportfields 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 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)
- 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.Identityfield. 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 from github.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 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
identityattribute in Terraform configurationimportblocks, available in Terraform v1.12+. Theresource.Identityfield on theschema.Resourcestruct 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 newIdentityDatastruct that is available via theIdentity()method onschema.ResourceDataandschema.ResourceDiffstructs. (#1444)FEATURES:
- helper/schema: Added new
TestResourceDataWithIdentityRawfunction for creating aResourceDatastruct with identity data for unit testing. (#1475)- helper/schema: Added new
Identityfield toResourcethat supports defining an identity schema for managed resources only. (#1444)- Added new
ImportStatePassthroughWithIdentityhelper that can support both identity and ID importing via a single field. (#1474)ENHANCEMENTS:
- helper/schema: Added
RequiredForImportandOptionalForImportfields to theSchemastruct, which are only valid for identity schemas. (#1444)- helper/schema: Updated
ResourceDatato 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.Importerfield still need to set an ID during import when an identity is provided. TheRequiredForImportandOptionalForImportfields 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 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)
- 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.Identityfield. 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
d636e58Update changelogd644d7dUpdate meta package SDKVersion5ffe9fbbuild(deps): bump github.com/hashicorp/terraform-plugin-go (#1486)d547ff7build(deps): bump github.com/hashicorp/terraform-json (#1482)67a5b0abuild(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (#1483)39397e1build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#1484)b3361degithub: Use Dependabot to keep Actions updated (#1481)104e551ResourceIdentity: Validate that identities do not change after Terraform stor...d40c432Prep changelogs forv2.37.0release (#1479)5e69f97Add catalog metadata (META.d) (#1480)- Additional commits viewable in compare 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
Commits:
1
1
Files Changed:
2
2
Additions:
+94
+94
Deletions:
-97
-97
Package Dependencies
Ecosystem:
go
go
Version Change:
2.36.1 → 2.37.0
Update Type:
Minor
Minor
Technical Details
| ID: | 421292 |
| UUID: | 2527489477 |
| Node ID: | PR_kwDOG5cpYs6Wpm3F |
| Host: | GitHub |
| Repository: | coder/terraform-provider-coder |
| Merge State: | Unknown |