Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.14.0#10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabotdependabotbot commented on behalf ofgithubApr 15, 2022

Bumpsgithub.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.14.0.

Release notes

Sourced fromgithub.com/hashicorp/terraform-plugin-sdk/v2's releases.

v2.14.0

NOTES:

  • This Go module has been updated to Go 1.17 per theGo support policy. Any consumers building on earlier Go versions may experience errors. (#934)

BUG FIXES:

  • helper/resource: Ensured Terraform CLI logs are written toTF_LOG_PATH_MASK environment variable value when bothTF_ACC_LOG_PATH andTF_LOG_PATH_MASK are set (#938)
  • helper/resource: Ensured@caller in SDK logging entries accurately reflected calling code location (#939)
  • helper/resource: Prevented regression since 2.13.0 with the removal of environment variables, includingTF_VAR_*, when calling Terraform CLI commands (#937)
  • helper/schema: Ensured@caller in SDK logging entries accurately reflected calling code location (#939)
  • helper/schema: Prevented missing SDK logging entries and confusing provider.stdio TRACE logging entries (#936)

v2.13.0

NOTES:

  • helper/resource: False positive checks of list, map, and set attributes withTestCheckNoResourceAttr andTestCheckResourceAttrSet will 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-nilerror with 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 theWARN level (e.g.TF_LOG=WARN terraform apply) can help locate the problematic error by searching for thedetected empty error string log message. (#914)

ENHANCEMENTS:

  • helper/resource: Added error when errantly checking list, map, or set attributes inTestCheckNoResourceAttr,TestCheckResourceAttr, andTestCheckResourceAttrSet (#920)
  • helper/resource: Execute Terraform CLI commands during acceptance testing withCHECKPOINT_DISABLE=1 set, removing extraneous calls to checkpoint.hashicorp.com to check for latest Terraform CLI version (#913)

BUG FIXES:

  • helper/schema: AllowedSchema withTypeInt to acceptstring values fromDefaultFunc, such asEnvDefaultFunc (#841) (#841)
  • helper/schema: Prevented panics duringerror to diagnostic conversion for a non-nil error with anError() method that returns an empty string ("") (#914)
  • helper/validation: Prevented panics withToDiagFunc() function when used insideSchema typeElem field, such as validatingTypeList elements (#915)

v2.12.0

ENHANCEMENTS:

  • helper/resource: Support JSON inTestStep typeConfig field (#722)

BUG FIXES:

  • customdiff: Prevented unexpected non-existent key errors inComputedIf,ForceNewIf, andForceNewIfChange since 2.11.0, using a warning log for backwards compatibility instead (#909)

v2.11.0

NOTES:

  • The underlyingterraform-plugin-log dependency has been updated to v0.3.0, which includes a breaking change in the optional additional fields parameter of logging function calls to ensure correctness and catch coding errors during compilation. Any early adopter provider logging which calls those functions may require updates. (#900)
  • helper/resource: The new terraform-plugin-logsdk.helper_resource logger inherits theTF_LOG,TF_LOG_PATH_MASK, andTF_ACC_LOG_PATH environment variable settings, similar to the prior logging. TheTF_LOG_SDK_HELPER_RESOURCE environment variable can be used to separately control the new logger level. (#891)
  • helper/schema: Started using terraform-plugin-log to write some SDK-level logs. Very few logs use this functionality now, but in the future, the environment variableTF_LOG_SDK_HELPER_SCHEMA will be able to set the log level for the SDK separately from the provider. (#837)
  • helper/schema: TheSchema typeDiffSuppressOnRefresh field opts in to usingDiffSuppressFunc to detect normalization changes during refresh, using the same rules as for planning. This can prevent normalization cascading downstream and producing confusing changes in other resources, and will avoid reporting "Values changed outside of Terraform" for normalization-only situations. This is a desirable behavior for most attributes that haveDiffSuppressFunc and so would ideally be on by default, but it is opt-in for backward compatibility reasons. (#882)
  • plugin: TheDebug function has been deprecated in preference of setting theDebug field in theServeOpts passed into theServe function. (#857)

ENHANCEMENTS:

... (truncated)

Changelog

Sourced fromgithub.com/hashicorp/terraform-plugin-sdk/v2's changelog.

2.14.0 (April 14, 2022)

NOTES:

  • This Go module has been updated to Go 1.17 per theGo support policy. Any consumers building on earlier Go versions may experience errors. (#934)

BUG FIXES:

  • helper/resource: Ensured Terraform CLI logs are written toTF_LOG_PATH_MASK environment variable value when bothTF_ACC_LOG_PATH andTF_LOG_PATH_MASK are set (#938)
  • helper/resource: Ensured@caller in SDK logging entries accurately reflected calling code location (#939)
  • helper/resource: Prevented regression since 2.13.0 with the removal of environment variables, includingTF_VAR_*, when calling Terraform CLI commands (#937)
  • helper/schema: Ensured@caller in SDK logging entries accurately reflected calling code location (#939)
  • helper/schema: Prevented missing SDK logging entries and confusing provider.stdio TRACE logging entries (#936)

2.13.0 (March 31, 2022)

NOTES:

  • helper/resource: False positive checks of list, map, and set attributes withTestCheckNoResourceAttr andTestCheckResourceAttrSet will 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-nilerror with 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 theWARN level (e.g.TF_LOG=WARN terraform apply) can help locate the problematic error by searching for thedetected empty error string log message. (#914)

ENHANCEMENTS:

  • helper/resource: Added error when errantly checking list, map, or set attributes inTestCheckNoResourceAttr,TestCheckResourceAttr, andTestCheckResourceAttrSet (#920)
  • helper/resource: Execute Terraform CLI commands during acceptance testing withCHECKPOINT_DISABLE=1 set, removing extraneous calls to checkpoint.hashicorp.com to check for latest Terraform CLI version (#913)

BUG FIXES:

  • helper/schema: AllowedSchema withTypeInt to acceptstring values fromDefaultFunc, such asEnvDefaultFunc (#841) (#841)
  • helper/schema: Prevented panics duringerror to diagnostic conversion for a non-nil error with anError() method that returns an empty string ("") (#914)
  • helper/validation: Prevented panics withToDiagFunc() function when used insideSchema typeElem field, such as validatingTypeList elements (#915)

2.12.0 (March 17, 2022)

ENHANCEMENTS:

  • helper/resource: Support JSON inTestStep typeConfig field (#722)

BUG FIXES:

  • customdiff: Prevented unexpected non-existent key errors inComputedIf,ForceNewIf, andForceNewIfChange since 2.11.0, using a warning log for backwards compatibility instead (#909)

2.11.0 (March 11, 2022)

NOTES:

  • The underlyingterraform-plugin-log dependency has been updated to v0.3.0, which includes a breaking change in the optional additional fields parameter of logging function calls to ensure correctness and catch coding errors during compilation. Any early adopter provider logging which calls those functions may require updates. (#900)
  • helper/resource: The new terraform-plugin-logsdk.helper_resource logger inherits theTF_LOG,TF_LOG_PATH_MASK, andTF_ACC_LOG_PATH environment variable settings, similar to the prior logging. TheTF_LOG_SDK_HELPER_RESOURCE environment variable can be used to separately control the new logger level. (#891)
  • helper/schema: Started using terraform-plugin-log to write some SDK-level logs. Very few logs use this functionality now, but in the future, the environment variableTF_LOG_SDK_HELPER_SCHEMA will be able to set the log level for the SDK separately from the provider. (#837)
  • helper/schema: TheSchema typeDiffSuppressOnRefresh field opts in to usingDiffSuppressFunc to detect normalization changes during refresh, using the same rules as for planning. This can prevent normalization cascading downstream and producing confusing changes in other resources, and will avoid reporting "Values changed outside of Terraform" for normalization-only situations. This is a desirable behavior for most attributes that haveDiffSuppressFunc and so would ideally be on by default, but it is opt-in for backward compatibility reasons. (#882)

... (truncated)

Commits
  • 4681738 Update CHANGELOG for 2.14.0
  • ea02348 internal/logging: Ensure@caller in SDK subsystem logging entries accuratel...
  • b8263cd helper/resource: Ensure Terraform CLI logs are written toTF_LOG_PATH_MASK ...
  • 5d701f2 all: Replace various log.Printf calls with tfsdklog calls (#940)
  • 466cbe5 build(deps): bump github.com/hashicorp/terraform-exec (#942)
  • c021dfb build(deps): bump github.com/hashicorp/terraform-plugin-go (#941)
  • 08f695a helper/resource: Improve "unsupported test mode" message (#925)
  • 3d0fec0 Update CHANGELOG for#937
  • 85b9ee9 helper/resource: Set CHECKPOINT_DISABLE environment variable outside terrafor...
  • fd9ac3c helper/schema: Prevent missing SDK logging entries and confusing provider.std...
  • Additional commits viewable incompare 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 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](https://github.com/hashicorp/terraform-plugin-sdk) from 2.10.1 to 2.14.0.- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)- [Commits](hashicorp/terraform-plugin-sdk@v2.10.1...v2.14.0)---updated-dependencies:- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>
@dependabotdependabotbot added dependenciesPull requests that update a dependency file goPull requests that update Go code labelsApr 15, 2022
@kylecarbskylecarbs merged commitbcf04aa intomainApr 25, 2022
@kylecarbskylecarbs deleted the dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.14.0 branchApril 25, 2022 04:19
DanielleMaywood pushed a commit that referenced this pull requestSep 5, 2024
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.10.1 to 2.14.0.- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)- [Commits](hashicorp/terraform-plugin-sdk@v2.10.1...v2.14.0)---updated-dependencies:- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2  dependency-type: direct:production  update-type: version-update:semver-minor...Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kylecarbskylecarbskylecarbs approved these changes

Assignees
No one assigned
Labels
dependenciesPull requests that update a dependency filegoPull requests that update Go code
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp