Skip to content

Bump github.com/hashicorp/terraform-plugin-testing from 1.12.0 to 1.13.2 #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2025

Bumps github.com/hashicorp/terraform-plugin-testing from 1.12.0 to 1.13.2.

Release notes

Sourced from github.com/hashicorp/terraform-plugin-testing's releases.

v1.13.2

BUG FIXES:

  • helper/resource: Updated ImportBlockWith* import state modes to use the ExpectNonEmpty field to allow non-empty import plans to pass successfully. (#518)
  • helper/resource: Fixed bug with import state mode where prior test config is not used for ConfigFile or ConfigDirectory (#516)

v1.13.1

BUG FIXES:

  • echoprovider: Fixed bug where Terraform v1.12+ would return an error message indicating the provider doesn't support GetResourceIdentitySchemas. (#512)

v1.13.0

NOTES:

  • reduced the volume of DEBUG-level logging to make it easier to visually scan debug output (#463)

FEATURES:

  • ImportState: Added support for testing plannable import via Terraform configuration. Configuration is used from the previous test step if available. Config, ConfigFile, and ConfigDirectory can also be used directly with ImportState if needed. (#442)
  • ImportState: Added ImportStateKind to control which method of import the ImportState test step uses. ImportCommandWithID (default, same behavior as today) , ImportBlockWithID, and ImportBlockWithResourceIdentity. (#442)
  • ImportState: Added ImportStateConfigExact to opt-out of new import config generation for plannable import. (#494)
  • statecheck: Added ExpectIdentityValueMatchesState state check to assert that an identity value matches a state value at the same path. (#503)
  • statecheck: Added ExpectIdentityValueMatchesStateAtPath state check to assert that an identity value matches a state value at different paths. (#503)

ENHANCEMENTS:

  • statecheck: Added ExpectIdentityValue state check, which asserts a specified attribute value of a managed resource identity in state. (#468)
  • statecheck: Added ExpectIdentity state check, which asserts all data of a managed resource identity in state. (#470)
  • Adds AdditionalCLIOptions.PlanOptions.NoRefresh to test terraform plan -refresh=false (#490)

v1.13.0-beta.1

BREAKING CHANGES:

  • importstate: ImportStatePersist and ImportStateVerify are not supported for plannable import (ImportBlockWith*) and will return an error (#476)
  • importstate: renamed ImportStateWithId to ImportStateWithID and renamed ImportCommandWithId to ImportCommandWithID. (#465)

NOTES:

  • 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 ImportBlockWithResourceIdentity kind to exercise the import of a managed resource using its resource identity object values instead of using a string identifier. (#480)

BUG FIXES:

  • importstate: plannable import (ImportBlockWith*) fixed for a resource with a dependency (#476)

v1.13.0-alpha.1

NOTES:

  • This alpha pre-release contains testing utilities for managed resource identity, which can be used with Terraform v1.12.0-alpha20250319, to assert identity data stored during apply workflows. A managed resource in a provider can read/store identity data using the [email protected] or terraform-plugin-sdk/[email protected] Go modules. To assert identity data stored by a provider in state, use the statecheck.ExpectIdentity state check. (#470)
Changelog

Sourced from github.com/hashicorp/terraform-plugin-testing's changelog.

1.13.2 (June 11, 2025)

BUG FIXES:

  • helper/resource: Updated ImportBlockWith* import state modes to use the ExpectNonEmpty field to allow non-empty import plans to pass successfully. (#518)
  • helper/resource: Fixed bug with import state mode where prior test config is not used for ConfigFile or ConfigDirectory (#516)

1.13.1 (May 21, 2025)

BUG FIXES:

  • echoprovider: Fixed bug where Terraform v1.12+ would return an error message indicating the provider doesn't support GetResourceIdentitySchemas. (#512)

1.13.0 (May 16, 2025)

NOTES:

  • reduced the volume of DEBUG-level logging to make it easier to visually scan debug output (#463)

FEATURES:

  • ImportState: Added support for testing plannable import via Terraform configuration. Configuration is used from the previous test step if available. Config, ConfigFile, and ConfigDirectory can also be used directly with ImportState if needed. (#442)
  • ImportState: Added ImportStateKind to control which method of import the ImportState test step uses. ImportCommandWithID (default, same behavior as today) , ImportBlockWithID, and ImportBlockWithResourceIdentity. (#442)
  • ImportState: Added ImportStateConfigExact to opt-out of new import config generation for plannable import. (#494)
  • statecheck: Added ExpectIdentityValueMatchesState state check to assert that an identity value matches a state value at the same path. (#503)
  • statecheck: Added ExpectIdentityValueMatchesStateAtPath state check to assert that an identity value matches a state value at different paths. (#503)

ENHANCEMENTS:

  • statecheck: Added ExpectIdentityValue state check, which asserts a specified attribute value of a managed resource identity in state. (#468)
  • statecheck: Added ExpectIdentity state check, which asserts all data of a managed resource identity in state. (#470)
  • Adds AdditionalCLIOptions.PlanOptions.NoRefresh to test terraform plan -refresh=false (#490)

1.13.0-beta.1 (April 18, 2025)

BREAKING CHANGES:

  • importstate: ImportStatePersist and ImportStateVerify are not supported for plannable import (ImportBlockWith*) and will return an error (#476)
  • importstate: renamed ImportStateWithId to ImportStateWithID and renamed ImportCommandWithId to ImportCommandWithID. (#465)

NOTES:

  • 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 ImportBlockWithResourceIdentity kind to exercise the import of a managed resource using its resource identity object values instead of using a string identifier. (#480)

BUG FIXES:

  • importstate: plannable import (ImportBlockWith*) fixed for a resource with a dependency (#476)

1.13.0-alpha.1 (March 27, 2025)

... (truncated)

Commits
  • 1911214 Update changelog
  • 2d87e3d importstate: Fixed bug where prior test config is not used for ConfigFile o...
  • baee5c6 importstate: Use ExpectNonEmptyPlan field to ignore no-op assertion for imp...
  • 40e7749 build(deps): Bump github.com/cloudflare/circl from 1.6.0 to 1.6.1 (#524)
  • e0e40e8 build(deps): Bump github.com/cloudflare/circl in /tools (#523)
  • a15aaaf build(deps): Bump golang.org/x/crypto from 0.38.0 to 0.39.0 (#521)
  • 4333746 build(deps): Bump github.com/cli/go-gh/v2 in /tools (#517)
  • f93511e build(deps): Bump github.com/hashicorp/terraform-plugin-go (#515)
  • ae7eb88 build(deps): Bump github.com/zclconf/go-cty from 1.16.2 to 1.16.3 (#511)
  • f8212c0 Update changelog
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)

Bumps [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing) from 1.12.0 to 1.13.2.
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-testing@v1.12.0...v1.13.2)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-version: 1.13.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jun 12, 2025
@dependabot dependabot bot requested a review from a team as a code owner June 12, 2025 15:55
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jun 12, 2025
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 go Pull requests that update go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants