Skip to content

Conversation

@dependabot
Copy link
Contributor

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

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


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

Release notes

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

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

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
  • f8212c0 Update changelog
  • f86f169 echoprovider: Fix bug where Terraform v1.12.1 would return an error indicatin...
  • 549959b Create pull_request_template.md (#508)
  • 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)
  • 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.1.
- [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.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-version: 1.13.1
  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 22, 2025
@random-things
Copy link
Owner

Resolved as part of #56

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 2, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.13.1 branch June 2, 2025 15:36
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