Bump github.com/hashicorp/terraform-plugin-testing from 1.12.0 to 1.13.1
Type: Pull Request
State: Closed
Association: Contributor
Comments: 2
(6 months ago)
(5 months ago)
(5 months ago)
dependencies go
⚠️ 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, andConfigDirectorycan also be used directly withImportStateif needed. (#442)- ImportState: Added
ImportStateKindto control which method of import theImportStatetest step uses.ImportCommandWithID(default, same behavior as today) ,ImportBlockWithID, andImportBlockWithResourceIdentity. (#442)- ImportState: Added
ImportStateConfigExactto opt-out of new import config generation for plannable import. (#494)- statecheck: Added
ExpectIdentityValueMatchesStatestate check to assert that an identity value matches a state value at the same path. (#503)- statecheck: Added
ExpectIdentityValueMatchesStateAtPathstate check to assert that an identity value matches a state value at different paths. (#503)ENHANCEMENTS:
- statecheck: Added
ExpectIdentityValuestate check, which asserts a specified attribute value of a managed resource identity in state. (#468)- statecheck: Added
ExpectIdentitystate check, which asserts all data of a managed resource identity in state. (#470)- Adds
AdditionalCLIOptions.PlanOptions.NoRefreshto testterraform plan -refresh=false(#490)v1.13.0-beta.1
BREAKING CHANGES:
- importstate:
ImportStatePersistandImportStateVerifyare not supported for plannable import (ImportBlockWith*) and will return an error (#476)- importstate: renamed
ImportStateWithIdtoImportStateWithIDand renamedImportCommandWithIdtoImportCommandWithID. (#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
ImportBlockWithResourceIdentitykind 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 theterraform-plugin-framework@v1.15.0-alpha.1orterraform-plugin-sdk/v2@v2.37.0-alpha.1Go modules. To assert identity data stored by a provider in state, use thestatecheck.ExpectIdentitystate 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, andConfigDirectorycan also be used directly withImportStateif needed. (#442)- ImportState: Added
ImportStateKindto control which method of import theImportStatetest step uses.ImportCommandWithID(default, same behavior as today) ,ImportBlockWithID, andImportBlockWithResourceIdentity. (#442)- ImportState: Added
ImportStateConfigExactto opt-out of new import config generation for plannable import. (#494)- statecheck: Added
ExpectIdentityValueMatchesStatestate check to assert that an identity value matches a state value at the same path. (#503)- statecheck: Added
ExpectIdentityValueMatchesStateAtPathstate check to assert that an identity value matches a state value at different paths. (#503)ENHANCEMENTS:
- statecheck: Added
ExpectIdentityValuestate check, which asserts a specified attribute value of a managed resource identity in state. (#468)- statecheck: Added
ExpectIdentitystate check, which asserts all data of a managed resource identity in state. (#470)- Adds
AdditionalCLIOptions.PlanOptions.NoRefreshto testterraform plan -refresh=false(#490)1.13.0-beta.1 (April 18, 2025)
BREAKING CHANGES:
- importstate:
ImportStatePersistandImportStateVerifyare not supported for plannable import (ImportBlockWith*) and will return an error (#476)- importstate: renamed
ImportStateWithIdtoImportStateWithIDand renamedImportCommandWithIdtoImportCommandWithID. (#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
ImportBlockWithResourceIdentitykind 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 theterraform-plugin-framework@v1.15.0-alpha.1orterraform-plugin-sdk/v2@v2.37.0-alpha.1Go modules. To assert identity data stored by a provider in state, use thestatecheck.ExpectIdentitystate check. (#470)
Commits
f8212c0Update changelogf86f169echoprovider: Fix bug where Terraform v1.12.1 would return an error indicatin...549959bCreate pull_request_template.md (#508)175139dUpdate changelogc748d53build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 (#509)0060a87ResourceIdentity: Switch to using plan instead of applied state for asserting...8b8c33astatecheck: Add new resource identity / state comparison checks (#503)fc2179dbuild(deps): Bump actions/setup-go from 5.4.0 to 5.5.0 (#506)a8b1366build(deps): Bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 (#507)28cd0fdgithub: Use Dependabot to keep Actions updated (#504)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
0
0
+0
-0
Package Dependencies
go
1.12.0 → 1.13.1
Minor
Technical Details
| ID: | 1234541 |
| UUID: | 3083952834 |
| Node ID: | PR_kwDOMOhMcs6XQnsK |
| Host: | GitHub |
| Repository: | random-things/terraform-provider-string-functions |