helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)
helper/resource: Prevented go-plugin goroutine leak per Terraform command (#1095)
helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#1091)
helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#1092)
v2.24.0
ENHANCEMENTS:
helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)
BUG FIXES:
helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)
v2.23.0
ENHANCEMENTS:
helper/resource: Added Terraform configuration to TRACE logging (#1059)
helper/resource: Added terraform plan output to TRACE logging (#1058)
BUG FIXES:
helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)
v2.22.0
ENHANCEMENTS:
helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)
BUG FIXES:
helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)
v2.21.0
NOTES:
This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)
BUG FIXES:
helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)
v2.20.0
NOTES:
helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)
helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)
helper/resource: Prevented go-plugin goroutine leak per Terraform command (#1095)
helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#1091)
helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#1092)
2.24.0 (October 13, 2022)
ENHANCEMENTS:
helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)
BUG FIXES:
helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)
2.23.0 (September 15, 2022)
ENHANCEMENTS:
helper/resource: Added Terraform configuration to TRACE logging (#1059)
helper/resource: Added terraform plan output to TRACE logging (#1058)
BUG FIXES:
helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)
2.22.0 (September 8, 2022)
ENHANCEMENTS:
helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)
BUG FIXES:
helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)
2.21.0 (August 15, 2022)
NOTES:
This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)
BUG FIXES:
helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)
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 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-sdk/v2 from 2.8.0 to 2.24.1.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.
... (truncated)
Changelog
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.
... (truncated)
Commits
5dfe31a
Update CHANGELOG for 2.24.19523045
helper/resource: Check for existing provider configuration block in TestStep ...ff2cdef
Linking to the framework migration guide (#1097) (#1098)ac0b965
build(deps): Bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0 (#1100)dfa6529
build(deps): Bump github.com/zclconf/go-cty from 1.12.0 to 1.12.1 (#1096)81b192b
build(deps): Bump github.com/hashicorp/terraform-plugin-go from 0.14.0 to 0.1...7bc4c6e
helper/resource: Various small fixes (#1091)6275669
all: Remove deprecated io/ioutil package usage (#1090)ba4b604
helper/resource: Skip data source states with TestStep.ImportStateCheck (#1089)f5c914f
build(deps): Bump github.com/zclconf/go-cty from 1.11.0 to 1.12.0 (#1086)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 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)