Skip to content

build(deps): bump github.com/hashicorp/terraform-plugin-testing from 1.12.0 to 1.13.0 #72

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 16, 2025

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

Release notes

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

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 terraform-plugin-framework@v1.15.0-alpha.1 or terraform-plugin-sdk/v2@v2.37.0-alpha.1 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.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)

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 terraform-plugin-framework@v1.15.0-alpha.1 or terraform-plugin-sdk/v2@v2.37.0-alpha.1 Go modules. To assert identity data stored by a provider in state, use the statecheck.ExpectIdentity state check. (#470)
Commits
  • 175139d Update changelog
  • c748d53 build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 (#509)
  • 0060a87 ResourceIdentity: Switch to using plan instead of applied state for asserting...
  • 8b8c33a statecheck: Add new resource identity / state comparison checks (#503)
  • fc2179d build(deps): Bump actions/setup-go from 5.4.0 to 5.5.0 (#506)
  • a8b1366 build(deps): Bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#507)
  • 28cd0fd github: Use Dependabot to keep Actions updated (#504)
  • 07dca39 build(deps): Bump github.com/hashicorp/terraform-json (#505)
  • fdfdcd7 update changelogs (#500)
  • 26e8554 Update CODEOWNERS (#501)
  • 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.0.
- [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.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 16, 2025
@dependabot dependabot bot requested a review from a team as a code owner May 16, 2025 22:43
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 16, 2025
@dependabot dependabot bot requested review from witalisoft and M4itee May 16, 2025 22:43
@dependabot dependabot bot added the go Pull requests that update go code label May 16, 2025
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@witalisoft witalisoft merged commit 53d8a67 into master May 19, 2025
4 of 6 checks passed
@witalisoft witalisoft deleted the dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.13.0 branch May 19, 2025 06:58
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.

2 participants