Skip to content

Bump github.com/hashicorp/terraform-plugin-testing from 1.15.0 to 1.16.0#2043

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.15.0 to 1.16.0#2043
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.15.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)
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)
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.15.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.15.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 go Pull requests that update Go code labels Apr 24, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 24, 2026 13:13
@datadog-terraform-cloud-hashicorp
Copy link
Copy Markdown

datadog-terraform-cloud-hashicorp Bot commented Apr 24, 2026

Tests

Fix all issues with Cursor

⚠️ Warnings

🧪 8 Tests failed

TestAccTFERegistryModuleDataSource_basicNoCodePrivate from data_source_registry_module_test.go   View in Datadog   (Fix with Cursor)
Step 1/1 error: Error running apply: exit status 1

Error: Error creating registry module from repository svc-team-tf-core-cloud/terraform-random-module: unprocessable content

Validation failed: Failed to create webhook on repository: svc-team-tf-core-cloud/terraform-random-module: 404 Not Found

  with tfe_registry_module.foobar,
  on terraform_plugin_test.tf line 25, in resource "tfe_registry_module" "foobar":
  25: resource "tfe_registry_module" "foobar" {

...
TestAccTFERegistryModuleDataSource_basicPrivate from data_source_registry_module_test.go   View in Datadog   (Fix with Cursor)
Step 1/1 error: Error running apply: exit status 1

Error: Error creating registry module from repository svc-team-tf-core-cloud/terraform-random-module: unprocessable content

Validation failed: Failed to create webhook on repository: svc-team-tf-core-cloud/terraform-random-module: 404 Not Found

  with tfe_registry_module.foobar,
  on terraform_plugin_test.tf line 26, in resource "tfe_registry_module" "foobar":
  26: resource "tfe_registry_module" "foobar" {

...
TestAccTFENoCodeModule_with_variable_options from resource_tfe_no_code_module_test.go   View in Datadog   (Fix with Cursor)
Step 1/1 error: Error running apply: exit status 1

Error: Error creating registry module from repository svc-team-tf-core-cloud/terraform-random-module: unprocessable content

Validation failed: Failed to create webhook on repository: svc-team-tf-core-cloud/terraform-random-module: 404 Not Found

  with tfe_registry_module.sensitive,
  on terraform_plugin_test.tf line 25, in resource "tfe_registry_module" "sensitive":
  25: 	resource "tfe_registry_module" "sensitive" {

...
View all

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 47e631a | Docs | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants