build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.12.0 to 2.13.0
Created by: dependabot[bot]
Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.12.0 to 2.13.0.
Release notes
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.
v2.13.0
NOTES:
- helper/resource: False positive checks of list, map, and set attributes with
TestCheckNoResourceAttrandTestCheckResourceAttrSetwill now return an error to explain how to accurately check those types of attributes. Some previously passing tests will now fail until the check is correctly updated. (#920)- helper/schema: Any returned non-
nilerrorwith anError()method that returns an empty string (""), will now return an error diagnostic with an"Empty Error String"summary instead of a panic. Enabling Terraform logging at theWARNlevel (e.g.TF_LOG=WARN terraform apply) can help locate the problematic error by searching for thedetected empty error stringlog message. (#914)ENHANCEMENTS:
- helper/resource: Added error when errantly checking list, map, or set attributes in
TestCheckNoResourceAttr,TestCheckResourceAttr, andTestCheckResourceAttrSet(#920)- helper/resource: Execute Terraform CLI commands during acceptance testing with
CHECKPOINT_DISABLE=1set, removing extraneous calls to checkpoint.hashicorp.com to check for latest Terraform CLI version (#913)BUG FIXES:
- helper/schema: Allowed
SchemawithTypeIntto acceptstringvalues fromDefaultFunc, such asEnvDefaultFunc(#841) (#841)- helper/schema: Prevented panics during
errorto diagnostic conversion for a non-nilerror with anError()method that returns an empty string ("") (#914)- helper/validation: Prevented panics with
ToDiagFunc()function when used insideSchematypeElemfield, such as validatingTypeListelements (#915)
Changelog
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.
2.13.0 (March 31, 2022)
NOTES:
- helper/resource: False positive checks of list, map, and set attributes with
TestCheckNoResourceAttrandTestCheckResourceAttrSetwill now return an error to explain how to accurately check those types of attributes. Some previously passing tests will now fail until the check is correctly updated. (#920)- helper/schema: Any returned non-
nilerrorwith anError()method that returns an empty string (""), will now return an error diagnostic with an"Empty Error String"summary instead of a panic. Enabling Terraform logging at theWARNlevel (e.g.TF_LOG=WARN terraform apply) can help locate the problematic error by searching for thedetected empty error stringlog message. (#914)ENHANCEMENTS:
- helper/resource: Added error when errantly checking list, map, or set attributes in
TestCheckNoResourceAttr,TestCheckResourceAttr, andTestCheckResourceAttrSet(#920)- helper/resource: Execute Terraform CLI commands during acceptance testing with
CHECKPOINT_DISABLE=1set, removing extraneous calls to checkpoint.hashicorp.com to check for latest Terraform CLI version (#913)BUG FIXES:
- helper/schema: Allowed
SchemawithTypeIntto acceptstringvalues fromDefaultFunc, such asEnvDefaultFunc(#841) (#841)- helper/schema: Prevented panics during
errorto diagnostic conversion for a non-nilerror with anError()method that returns an empty string ("") (#914)- helper/validation: Prevented panics with
ToDiagFunc()function when used insideSchematypeElemfield, such as validatingTypeListelements (#915)
Commits
-
0f834ffUpdate CHANGELOG for 2.13.0 -
f74b5a6helper/resource: Added error when errantly checking list, map, or set attribu... -
40ff3edhelper/schema: Update Go documentation for StateUpgradeFunc (#921) -
afa8402helper/resource: Additional Go documentation for TypeSet TestCheckFunc (#916) -
ab84f8bhelper/schema: Prevented panics during error to diagnostic conversion (#914) -
a0d2e21helper/validation: Prevented panics withToDiagFunc()function when used in... -
1c932cfinternal/plugintest: Set CHECKPOINT_DISABLE=1 in terraform-exec directly (#913) -
a0e2144Update CHANGELOG for #841 -
5b915f2helper/schema: Allow Schema with TypeInt to accept string values from Default... -
0045c35helper/resource: Additional Go documentation for TestCheck and TestMatch func... - 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 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)