Skip to content

Bump github.com/hashicorp/terraform-plugin-testing from 1.14.0 to 1.16.0#173

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.16.0
Open

Bump github.com/hashicorp/terraform-plugin-testing from 1.14.0 to 1.16.0#173
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.16.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 24, 2026

Bumps github.com/hashicorp/terraform-plugin-testing from 1.14.0 to 1.16.0.

Release notes

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

v1.16.0

FEATURES:

  • querycheck: Add new ExpectTotalLengthForMatching querycheck for validating the number of found resources for multiple list blocks (#607)
  • helper/resource: Added new GenerateConfig testing mode to TestStep which can be used to test the generated resource configuration during ImportState testing mode. (#638)

ENHANCEMENTS:

  • helper/resource: Added DefaultWorkspaceOnly to enable testing state store implementations that don't support multiple workspaces. This is achieved by only running Terraform commands with the default workspace. (#633)

BUG FIXES:

  • querycheck: Fix behaviour of ExpectLength querycheck to match on the provided resource address before comparing the count (#604)
  • querycheck: Fix behaviour of ExpectLengthAtLeast querycheck to match on the provided resource address before comparing the count (#607)
  • dep: updated hc-install dependency to 0.9.4 to prevent openpgp key expiration errors. (#647)

v1.15.0

NOTES:

  • This Go module has been updated to Go 1.25 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#629)

FEATURES:

  • helper/resource: Added new StateStore testing mode to TestStep, which can be used to smoke test Terraform state storage. (#591)

BUG FIXES:

  • helper/resource: Test steps in Config mode using Destroy: true and Check functions will now create an additional destroy plan prior to running terraform apply to avoid a potential "Saved Plan is Stale" error from Terraform. (#602)
  • helper/resource: Test steps in Config mode using the TF_ACC_REFRESH_AFTER_APPLY compatibility flag will not refresh if ExpectNonEmptyPlan is true. (#602)

v1.14.1

BUG FIXES:

  • Backport: Remove the redundant post-apply refresh triggered by resource/refreshAfterApply so acceptance tests avoid an extra refresh cycle. (#641)
Changelog

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

1.16.0 (April 23, 2026)

FEATURES:

  • querycheck: Add new ExpectTotalLengthForMatching querycheck for validating the number of found resources for multiple list blocks (#607)
  • helper/resource: Added new GenerateConfig testing mode to TestStep which can be used to test the generated resource configuration during ImportState testing mode. (#638)

ENHANCEMENTS:

  • helper/resource: Added DefaultWorkspaceOnly to enable testing state store implementations that don't support multiple workspaces. This is achieved by only running Terraform commands with the default workspace. (#633)

BUG FIXES:

  • querycheck: Fix behaviour of ExpectLength querycheck to match on the provided resource address before comparing the count (#604)
  • querycheck: Fix behaviour of ExpectLengthAtLeast querycheck to match on the provided resource address before comparing the count (#607)
  • dep: updated hc-install dependency to 0.9.4 to prevent openpgp key expiration errors. (#647)

1.15.0 (March 10, 2026)

NOTES:

  • This Go module has been updated to Go 1.25 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#629)

FEATURES:

  • helper/resource: Added new StateStore testing mode to TestStep, which can be used to smoke test Terraform state storage. (#591)

BUG FIXES:

  • helper/resource: Test steps in Config mode using Destroy: true and Check functions will now create an additional destroy plan prior to running terraform apply to avoid a potential "Saved Plan is Stale" error from Terraform. (#602)
  • helper/resource: Test steps in Config mode using the TF_ACC_REFRESH_AFTER_APPLY compatibility flag will not refresh if ExpectNonEmptyPlan is true. (#602)
Commits
  • 54ba38b Update changelog
  • 086f9cb Add changelog for hc-install dependency update (#649)
  • 878c611 build(deps): Bump github.com/hashicorp/terraform-exec (#648)
  • c492fcf build(deps): Bump github.com/hashicorp/hc-install from 0.9.3 to 0.9.4 (#646)
  • c635147 build(deps): Bump github.com/zclconf/go-cty from 1.18.0 to 1.18.1 (#644)
  • d854a0f build(deps): Bump the github-actions group with 2 updates (#643)
  • 2684d0d build(deps): Bump golang.org/x/crypto from 0.49.0 to 0.50.0 (#642)
  • 2699d69 Add GenerateConfig testing mode to ImportState testing (#638)
  • 57e3cc1 build(deps): Bump actions/setup-go in the github-actions group (#639)
  • 8ac7772 build(deps): Bump github.com/hashicorp/copywrite in /tools (#637)
  • 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 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.14.0 to 1.16.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.14.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-version: 1.16.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 Apr 24, 2026
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

Development

Successfully merging this pull request may close these issues.

0 participants