dependabot[bot] opened a new pull request, #187: URL: https://github.com/apache/cloudstack-terraform-provider/pull/187
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.33.0 to 2.37.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-sdk/releases">github.com/hashicorp/terraform-plugin-sdk/v2's releases</a>.</em></p> <blockquote> <h2>v2.37.0</h2> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.23 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.23">Go 1.23 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1445">#1445</a>)</li> <li>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 <code>identity</code> attribute in Terraform configuration <code>import</code> blocks, available in Terraform v1.12+. The <code>resource.Identity</code> field on the <code>schema.Resource</code> 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 <code>IdentityData</code> struct that is available via the <code>Identity()</code> method on <code>schema.ResourceData</code> and <code>schema.ResourceDiff</code> structs. (<a href="https://redirect.github.com/hashicorp/terr aform-plugin-sdk/issues/1444">#1444</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>helper/schema: Added new <code>TestResourceDataWithIdentityRaw</code> function for creating a <code>ResourceData</code> struct with identity data for unit testing. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1475">#1475</a>)</li> <li>helper/schema: Added new <code>Identity</code> field to <code>Resource</code> that supports defining an identity schema for managed resources only. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> <li>Added new <code>ImportStatePassthroughWithIdentity</code> helper that can support both identity and ID importing via a single field. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1474">#1474</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>helper/schema: Added <code>RequiredForImport</code> and <code>OptionalForImport</code> fields to the <code>Schema</code> struct, which are only valid for identity schemas. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> <li>helper/schema: Updated <code>ResourceData</code> to support passing of identity data in CRUD and import functions for managed resources. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>helper/schema: Fixed bug that blocked write-only attributes from being used with resources without update functions. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1472">#1472</a>)</li> </ul> <h2>v2.37.0-beta.1</h2> <p>NOTES:</p> <ul> <li>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 <code>schema.Resource.Importer</code> field still need to set an ID during import when an identity is provided. The <code>RequiredForImport</code> and <code>OptionalForImport</code> fields on the identity schema can be used to control the validation that Terraform core will apply to the import config block. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1463">#1463</a>)</li> </ul> <h2>v2.37.0-alpha.1</h2> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.23 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.23">Go 1.23 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1445">#1445</a>)</li> <li>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 <code>resource.Identity</code> field. Once the identity schema is defined, you can read and store identity data in the new IdentityData struct that is available via the new <code>Identity()</code> method on ResourceData and ResourceDiff structs. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> </ul> <h2>v2.36.1</h2> <p>NOTES:</p> <ul> <li>Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1375">#1375</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>helper/schema: Fixed bug that allowed write-only attributes within set nested blocks. Any attribute within a set nested block with <code>WriteOnly</code> set to <code>true</code> will now trigger an error message. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1427">#1427</a>)</li> </ul> <h2>v2.36.0</h2> <p>NOTES:</p> <ul> <li>Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1375">#1375</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>helper/schema: Added <code>WriteOnly</code> 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. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1375">#1375</a>)</li> <li>helper/validation: Added <code>PreferWriteOnlyAttribute()</code> validator that warns practitioners when a write-only version of a configured attribute is available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1375">#1375</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md">github.com/hashicorp/terraform-plugin-sdk/v2's changelog</a>.</em></p> <blockquote> <h2>2.37.0 (May 16, 2025)</h2> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.23 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.23">Go 1.23 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1445">#1445</a>)</li> <li>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 <code>identity</code> attribute in Terraform configuration <code>import</code> blocks, available in Terraform v1.12+. The <code>resource.Identity</code> field on the <code>schema.Resource</code> 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 <code>IdentityData</code> struct that is available via the <code>Identity()</code> method on <code>schema.ResourceData</code> and <code>schema.ResourceDiff</code> structs. (<a href="https://redirect.github.com/hashicorp/terr aform-plugin-sdk/issues/1444">#1444</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>helper/schema: Added new <code>TestResourceDataWithIdentityRaw</code> function for creating a <code>ResourceData</code> struct with identity data for unit testing. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1475">#1475</a>)</li> <li>helper/schema: Added new <code>Identity</code> field to <code>Resource</code> that supports defining an identity schema for managed resources only. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> <li>Added new <code>ImportStatePassthroughWithIdentity</code> helper that can support both identity and ID importing via a single field. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1474">#1474</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>helper/schema: Added <code>RequiredForImport</code> and <code>OptionalForImport</code> fields to the <code>Schema</code> struct, which are only valid for identity schemas. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> <li>helper/schema: Updated <code>ResourceData</code> to support passing of identity data in CRUD and import functions for managed resources. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>helper/schema: Fixed bug that blocked write-only attributes from being used with resources without update functions. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1472">#1472</a>)</li> </ul> <h2>2.37.0-beta.1 (April 18, 2025)</h2> <p>NOTES:</p> <ul> <li>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 <code>schema.Resource.Importer</code> field still need to set an ID during import when an identity is provided. The <code>RequiredForImport</code> and <code>OptionalForImport</code> fields on the identity schema can be used to control the validation that Terraform core will apply to the import config block. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1463">#1463</a>)</li> </ul> <h2>2.37.0-alpha.1 (March 20, 2025)</h2> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.23 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.23">Go 1.23 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1445">#1445</a>)</li> <li>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 <code>resource.Identity</code> field. Once the identity schema is defined, you can read and store identity data in the new IdentityData struct that is available via the new <code>Identity()</code> method on ResourceData and ResourceDiff structs. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1444">#1444</a>)</li> </ul> <h2>2.36.1 (February 19, 2025)</h2> <p>NOTES:</p> <ul> <li>Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1375">#1375</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>helper/schema: Fixed bug that allowed write-only attributes within set nested blocks. Any attribute within a set nested block with <code>WriteOnly</code> set to <code>true</code> will now trigger an error message. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1427">#1427</a>)</li> </ul> <h2>2.36.0 (February 04, 2025)</h2> <p>NOTES:</p> <ul> <li>Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1375">#1375</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/d636e58176355dc17e4f723207206202288daa13"><code>d636e58</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/d644d7dd8755dca1c6caad9029029228464a10b9"><code>d644d7d</code></a> Update meta package SDKVersion</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/5ffe9fbfe979bafa815050973189185d1afb8e13"><code>5ffe9fb</code></a> build(deps): bump github.com/hashicorp/terraform-plugin-go (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1486">#1486</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/d547ff7f146190b80be55ee94f76dc18f7dae3f3"><code>d547ff7</code></a> build(deps): bump github.com/hashicorp/terraform-json (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1482">#1482</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/67a5b0a9fa47cd693afbe6bfae1822d9fb79d841"><code>67a5b0a</code></a> build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1483">#1483</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/39397e17d5f382133967d5e8b78e75b0e525a7e5"><code>39397e1</code></a> build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1484">#1484</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/b3361de234495260d9fd8a0588fc557193484f85"><code>b3361de</code></a> github: Use Dependabot to keep Actions updated (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1481">#1481</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/104e5510474809be19ddb5d39d62489a2a106d50"><code>104e551</code></a> ResourceIdentity: Validate that identities do not change after Terraform stor...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/d40c432fa99d3d5048cb854e817e563b8a9c31a4"><code>d40c432</code></a> Prep changelogs for <code>v2.37.0</code> release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1479">#1479</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-sdk/commit/5e69f976be069a65f21b4c03e543b13d0b4970be"><code>5e69f97</code></a> Add catalog metadata (META.d) (<a href="https://redirect.github.com/hashicorp/terraform-plugin-sdk/issues/1480">#1480</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-sdk/compare/v2.33.0...v2.37.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org