Skip to content

Commit 4744222

Browse files
Bump github.com/hashicorp/terraform-plugin-testing from 1.12.0 to 1.13.0 (#437)
Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.12.0 to 1.13.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-testing/releases">github.com/hashicorp/terraform-plugin-testing's releases</a>.</em></p> <blockquote> <h2>v1.13.0</h2> <p>NOTES:</p> <ul> <li>reduced the volume of DEBUG-level logging to make it easier to visually scan debug output (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/463">#463</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>ImportState: Added support for testing plannable import via Terraform configuration. Configuration is used from the previous test step if available. <code>Config</code>, <code>ConfigFile</code>, and <code>ConfigDirectory</code> can also be used directly with <code>ImportState</code> if needed. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/442">#442</a>)</li> <li>ImportState: Added <code>ImportStateKind</code> to control which method of import the <code>ImportState</code> test step uses. <code>ImportCommandWithID</code> (default, same behavior as today) , <code>ImportBlockWithID</code>, and <code>ImportBlockWithResourceIdentity</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/442">#442</a>)</li> <li>ImportState: Added <code>ImportStateConfigExact</code> to opt-out of new import config generation for plannable import. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/494">#494</a>)</li> <li>statecheck: Added <code>ExpectIdentityValueMatchesState</code> state check to assert that an identity value matches a state value at the same path. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/503">#503</a>)</li> <li>statecheck: Added <code>ExpectIdentityValueMatchesStateAtPath</code> state check to assert that an identity value matches a state value at different paths. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/503">#503</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>statecheck: Added <code>ExpectIdentityValue</code> state check, which asserts a specified attribute value of a managed resource identity in state. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/468">#468</a>)</li> <li>statecheck: Added <code>ExpectIdentity</code> state check, which asserts all data of a managed resource identity in state. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/470">#470</a>)</li> <li>Adds <code>AdditionalCLIOptions.PlanOptions.NoRefresh</code> to test <code>terraform plan -refresh=false</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/490">#490</a>)</li> </ul> <h2>v1.13.0-beta.1</h2> <p>BREAKING CHANGES:</p> <ul> <li>importstate: <code>ImportStatePersist</code> and <code>ImportStateVerify</code> are not supported for plannable import (<code>ImportBlockWith*</code>) and will return an error (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/476">#476</a>)</li> <li>importstate: renamed <code>ImportStateWithId</code> to <code>ImportStateWithID</code> and renamed <code>ImportCommandWithId</code> to <code>ImportCommandWithID</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/465">#465</a>)</li> </ul> <p>NOTES:</p> <ul> <li>This beta pre-release adds support for managed resource identity, which can be used with Terraform v1.12.0-beta2. Acceptance tests can use the <code>ImportBlockWithResourceIdentity</code> kind to exercise the import of a managed resource using its resource identity object values instead of using a string identifier. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/480">#480</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>importstate: plannable import (<code>ImportBlockWith*</code>) fixed for a resource with a dependency (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/476">#476</a>)</li> </ul> <h2>v1.13.0-alpha.1</h2> <p>NOTES:</p> <ul> <li>This alpha pre-release contains testing utilities for managed resource identity, which can be used with <code>Terraform v1.12.0-alpha20250319</code>, to assert identity data stored during apply workflows. A managed resource in a provider can read/store identity data using the <code>terraform-plugin-framework@v1.15.0-alpha.1</code> or <code>terraform-plugin-sdk/v2@v2.37.0-alpha.1</code> Go modules. To assert identity data stored by a provider in state, use the <code>statecheck.ExpectIdentity</code> state check. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/470">#470</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md">github.com/hashicorp/terraform-plugin-testing's changelog</a>.</em></p> <blockquote> <h2>1.13.0 (May 16, 2025)</h2> <p>NOTES:</p> <ul> <li>reduced the volume of DEBUG-level logging to make it easier to visually scan debug output (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/463">#463</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>ImportState: Added support for testing plannable import via Terraform configuration. Configuration is used from the previous test step if available. <code>Config</code>, <code>ConfigFile</code>, and <code>ConfigDirectory</code> can also be used directly with <code>ImportState</code> if needed. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/442">#442</a>)</li> <li>ImportState: Added <code>ImportStateKind</code> to control which method of import the <code>ImportState</code> test step uses. <code>ImportCommandWithID</code> (default, same behavior as today) , <code>ImportBlockWithID</code>, and <code>ImportBlockWithResourceIdentity</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/442">#442</a>)</li> <li>ImportState: Added <code>ImportStateConfigExact</code> to opt-out of new import config generation for plannable import. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/494">#494</a>)</li> <li>statecheck: Added <code>ExpectIdentityValueMatchesState</code> state check to assert that an identity value matches a state value at the same path. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/503">#503</a>)</li> <li>statecheck: Added <code>ExpectIdentityValueMatchesStateAtPath</code> state check to assert that an identity value matches a state value at different paths. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/503">#503</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>statecheck: Added <code>ExpectIdentityValue</code> state check, which asserts a specified attribute value of a managed resource identity in state. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/468">#468</a>)</li> <li>statecheck: Added <code>ExpectIdentity</code> state check, which asserts all data of a managed resource identity in state. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/470">#470</a>)</li> <li>Adds <code>AdditionalCLIOptions.PlanOptions.NoRefresh</code> to test <code>terraform plan -refresh=false</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/490">#490</a>)</li> </ul> <h2>1.13.0-beta.1 (April 18, 2025)</h2> <p>BREAKING CHANGES:</p> <ul> <li>importstate: <code>ImportStatePersist</code> and <code>ImportStateVerify</code> are not supported for plannable import (<code>ImportBlockWith*</code>) and will return an error (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/476">#476</a>)</li> <li>importstate: renamed <code>ImportStateWithId</code> to <code>ImportStateWithID</code> and renamed <code>ImportCommandWithId</code> to <code>ImportCommandWithID</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/465">#465</a>)</li> </ul> <p>NOTES:</p> <ul> <li>This beta pre-release adds support for managed resource identity, which can be used with Terraform v1.12.0-beta2. Acceptance tests can use the <code>ImportBlockWithResourceIdentity</code> kind to exercise the import of a managed resource using its resource identity object values instead of using a string identifier. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/480">#480</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>importstate: plannable import (<code>ImportBlockWith*</code>) fixed for a resource with a dependency (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/476">#476</a>)</li> </ul> <h2>1.13.0-alpha.1 (March 27, 2025)</h2> <p>NOTES:</p> <ul> <li>This alpha pre-release contains testing utilities for managed resource identity, which can be used with <code>Terraform v1.12.0-alpha20250319</code>, to assert identity data stored during apply workflows. A managed resource in a provider can read/store identity data using the <code>terraform-plugin-framework@v1.15.0-alpha.1</code> or <code>terraform-plugin-sdk/v2@v2.37.0-alpha.1</code> Go modules. To assert identity data stored by a provider in state, use the <code>statecheck.ExpectIdentity</code> state check. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/470">#470</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/175139dbdb7d546cd02fca289469a9133b422342"><code>175139d</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/c748d531a53fd526632c0d09b9d5e6e88507c6e0"><code>c748d53</code></a> build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/509">#509</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/0060a873ea8c9d4f8c9ec2f3562dd183fcde1418"><code>0060a87</code></a> ResourceIdentity: Switch to using plan instead of applied state for asserting...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/8b8c33ae55dca391f5523780925f4f3c3355c970"><code>8b8c33a</code></a> statecheck: Add new resource identity / state comparison checks (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/503">#503</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/fc2179d87cb878ded1d04babf68e7f537bc24aa9"><code>fc2179d</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-testing/issues/506">#506</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/a8b13661accd92fe230b7202588201092720ffd2"><code>a8b1366</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-testing/issues/507">#507</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/28cd0fd775f2d486e69ad212178fc115e078dd36"><code>28cd0fd</code></a> github: Use Dependabot to keep Actions updated (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/504">#504</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/07dca39acf2c8dbf25d68e47915ff5ddc20490e8"><code>07dca39</code></a> build(deps): Bump github.com/hashicorp/terraform-json (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/505">#505</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/fdfdcd77d688d589ff161f87f0a34962043d3bb3"><code>fdfdcd7</code></a> update changelogs (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/500">#500</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/26e85543f51be94f68ef67c0411c85926d1e3d4c"><code>26e8554</code></a> Update CODEOWNERS (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/501">#501</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-testing/compare/v1.12.0...v1.13.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/hashicorp/terraform-plugin-testing&package-manager=go_modules&previous-version=1.12.0&new-version=1.13.0)](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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 154598c commit 4744222

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/hashicorp/terraform-plugin-go v0.27.0
1111
github.com/hashicorp/terraform-plugin-log v0.9.0
1212
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0
13-
github.com/hashicorp/terraform-plugin-testing v1.12.0
13+
github.com/hashicorp/terraform-plugin-testing v1.13.0
1414
github.com/oxidecomputer/oxide.go v0.4.1-0.20250423011427-65b1d0f6b391
1515
github.com/stretchr/testify v1.10.0
1616
)

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9T
9494
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
9595
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0 h1:NFPMacTrY/IdcIcnUB+7hsore1ZaRWU9cnB6jFoBnIM=
9696
github.com/hashicorp/terraform-plugin-sdk/v2 v2.37.0/go.mod h1:QYmYnLfsosrxjCnGY1p9c7Zj6n9thnEE+7RObeYs3fA=
97-
github.com/hashicorp/terraform-plugin-testing v1.12.0 h1:tpIe+T5KBkA1EO6aT704SPLedHUo55RenguLHcaSBdI=
98-
github.com/hashicorp/terraform-plugin-testing v1.12.0/go.mod h1:jbDQUkT9XRjAh1Bvyufq+PEH1Xs4RqIdpOQumSgSXBM=
97+
github.com/hashicorp/terraform-plugin-testing v1.13.0 h1:vTELm6x3Z4H9VO3fbz71wbJhbs/5dr5DXfIwi3GMmPY=
98+
github.com/hashicorp/terraform-plugin-testing v1.13.0/go.mod h1:b/hl6YZLm9fjeud/3goqh/gdqhZXbRfbHMkEiY9dZwc=
9999
github.com/hashicorp/terraform-registry-address v0.2.5 h1:2GTftHqmUhVOeuu9CW3kwDkRe4pcBDq0uuK5VJngU1M=
100100
github.com/hashicorp/terraform-registry-address v0.2.5/go.mod h1:PpzXWINwB5kuVS5CA7m1+eO2f1jKb5ZDIxrOPfpnGkg=
101101
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=

0 commit comments

Comments
 (0)