Skip to content

Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 - #125

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-hashicorp-terraform-plugin-testing-1.x
Open

Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0#125
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-hashicorp-terraform-plugin-testing-1.x

Conversation

@renovate

@renovate renovate Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/terraform-plugin-testing v1.12.0v1.16.0 age confidence

Release Notes

hashicorp/terraform-plugin-testing (github.com/hashicorp/terraform-plugin-testing)

v1.16.0

Compare Source

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

Compare Source

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

Compare Source

BUG FIXES:

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

v1.14.0

Compare Source

FEATURES:

  • queryfilter: Introduces new queryfilter package with interface and built-in query check filtering functionality. (#​573)
  • querycheck: Adds ExpectResourceDisplayName query check to assert a display name value on a filtered query result. (#​573)
  • querycheck: Adds ExpectResourceKnownValues query check to assert resource values on a filtered query result. (#​583)

ENHANCEMENTS:

  • helper/resource: Adds PostApplyFunc test step hook to run generic post-apply logic for plan/apply testing. (#​566)

v1.13.3

Compare Source

NOTES:

  • Adds an opt-in compatibility flag for config mode tests to unlock upgrade from v1.5.1 to latest for specific providers. (#​496)

v1.13.2

Compare Source

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

Compare Source

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

Compare Source

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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 14 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.25.8
github.com/ProtonMail/go-crypto v1.3.0 -> v1.4.1
github.com/agext/levenshtein v1.2.2 -> v1.2.3
github.com/cloudflare/circl v1.6.1 -> v1.6.3
github.com/hashicorp/go-version v1.8.0 -> v1.9.0
github.com/hashicorp/hc-install v0.9.3 -> v0.9.4
github.com/hashicorp/terraform-exec v0.25.0 -> v0.25.1
github.com/zclconf/go-cty v1.17.0 -> v1.18.1
golang.org/x/crypto v0.48.0 -> v0.50.0
golang.org/x/mod v0.33.0 -> v0.35.0
golang.org/x/net v0.51.0 -> v0.52.0
golang.org/x/sys v0.42.0 -> v0.43.0
golang.org/x/text v0.35.0 -> v0.36.0
golang.org/x/tools v0.42.0 -> v0.43.0
google.golang.org/grpc v1.79.2 -> v1.79.3

@renovate
renovate Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-testing-1.x branch from bab26b2 to a548678 Compare August 13, 2026 13:29
@renovate renovate Bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 Aug 13, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-testing-1.x branch from a548678 to ba438f2 Compare August 14, 2026 14:10
@renovate renovate Bot changed the title Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 - autoclosed Aug 18, 2026
@renovate renovate Bot closed this Aug 18, 2026
@renovate
renovate Bot deleted the renovate/github.com-hashicorp-terraform-plugin-testing-1.x branch August 18, 2026 20:48
@renovate renovate Bot changed the title Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 - autoclosed Update module github.com/hashicorp/terraform-plugin-testing to v1.16.0 Aug 19, 2026
@renovate renovate Bot reopened this Aug 19, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-testing-1.x branch 2 times, most recently from ba438f2 to 9a0c898 Compare August 19, 2026 02:46
@renovate
renovate Bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-testing-1.x branch from 9a0c898 to fcf0859 Compare August 26, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants