helper/schema: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#1111)
helper/schema: Prevented unexpected difference for timeouts on first plan after import (#1146)
v2.24.1
BUG FIXES:
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)
helper/schema: Allow diagnostic messages with incorrect UTF-8 encoding to pass through with the invalid sequences replaced with the Unicode Replacement Character. This avoids returning the unhelpful message "string field contains invalid UTF-8" in that case. (#1111)
helper/schema: Prevented unexpected difference for timeouts on first plan after import (#1146)
2.24.1 (November 14, 2022)
BUG FIXES:
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)
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.13.0 to 2.25.0.
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
868827a
Update changelog5da5d6a
website: Add highlight callout for migrating to terraform-plugin-testing (#1150)d646588
website: Adds content-check command and README update (#1149)895fb9d
build(deps): Bump github.com/hashicorp/hcl/v2 from 2.16.0 to 2.16.1 (#1148)3933b61
helper/schema: Remove timeouts during ImportResourceState (#1146)4041f05
Migrating links to new format (#1137)3d2dec4
build(deps): Bump golang.org/x/crypto from 0.5.0 to 0.6.0 (#1144)cb9d3a2
build(deps): Bump github.com/hashicorp/terraform-json (#1142)242c0f6
build(deps): Bump github.com/hashicorp/terraform-plugin-log (#1141)1efad5a
build(deps): Bump github.com/hashicorp/hc-install from 0.4.0 to 0.5.0 (#1136)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)