Skip to content

Commit 7f6cb76

Browse files
deps: update module github.com/hashicorp/terraform-plugin-testing to v1.6.0 (#808)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/hashicorp/terraform-plugin-testing](https://togithub.com/hashicorp/terraform-plugin-testing) | require | minor | `v1.5.1` -> `v1.6.0` | --- ### Release Notes <details> <summary>hashicorp/terraform-plugin-testing (github.com/hashicorp/terraform-plugin-testing)</summary> ### [`v1.6.0`](https://togithub.com/hashicorp/terraform-plugin-testing/releases/tag/v1.6.0) [Compare Source](https://togithub.com/hashicorp/terraform-plugin-testing/compare/v1.5.1...v1.6.0) NOTES: - all: This Go module has been updated to Go 1.20 per the [Go support policy](https://go.dev/doc/devel/release#policy). It is recommended to review the [Go 1.20 release notes](https://go.dev/doc/go1.20) before upgrading. Any consumers building on earlier Go versions may experience errors. ([#&#8203;180](https://togithub.com/hashicorp/terraform-plugin-testing/issues/180)) - helper/resource: Configuration based `TestStep` now include post-apply plan checks for output changes in addition to resource changes. If this causes unexpected new test failures, most `output` configuration blocks can be likely be removed. Test steps involving resources and data sources should never need to use `output` configuration blocks as plan and state checks support working on resource and data source attributes values directly. ([#&#8203;234](https://togithub.com/hashicorp/terraform-plugin-testing/issues/234)) FEATURES: - plancheck: Added `ExpectUnknownOutputValue` built-in plan check, which asserts that a given output value at a specified address is unknown ([#&#8203;220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) - plancheck: Added `ExpectUnknownOutputValueAtPath` built-in plan check, which asserts that a given output value at a specified address, and path is unknown ([#&#8203;220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) - plancheck: Added `ExpectNullOutputValue` built-in plan check, which asserts that a given output value at a specified address is null ([#&#8203;220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) - plancheck: Added `ExpectNullOutputValueAtPath` built-in plan check, which asserts that a given output value at a specified address, and path is null ([#&#8203;220](https://togithub.com/hashicorp/terraform-plugin-testing/issues/220)) ENHANCEMENTS: - helper/resource: Removed separate refresh commands, which increases testing performance ([#&#8203;223](https://togithub.com/hashicorp/terraform-plugin-testing/issues/223)) - helper/resource: Automatically add `required_providers` configuration to `TestStep.Config` Terraform language configuration when using Terraform >= 1.0.\* ([#&#8203;216](https://togithub.com/hashicorp/terraform-plugin-testing/issues/216)) BUG FIXES: - plancheck: Ensured `ExpectEmptyPlan` and `ExpectNonEmptyPlan` account for output changes ([#&#8203;222](https://togithub.com/hashicorp/terraform-plugin-testing/issues/222)) - helper/resource: Ensured `TestStep.ExpectNonEmptyPlan` accounts for output changes with Terraform 0.14 and later ([#&#8203;234](https://togithub.com/hashicorp/terraform-plugin-testing/issues/234)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/hetznercloud/terraform-provider-hcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 32fc1eb commit 7f6cb76

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/hashicorp/terraform-plugin-log v0.9.0
1313
github.com/hashicorp/terraform-plugin-mux v0.13.0
1414
github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0
15-
github.com/hashicorp/terraform-plugin-testing v1.5.1
15+
github.com/hashicorp/terraform-plugin-testing v1.6.0
1616
github.com/hetznercloud/hcloud-go v1.53.0
1717
github.com/stretchr/testify v1.8.4
1818
golang.org/x/crypto v0.17.0

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 h1:Bl3e2ei2j/Z3Hc2HIS15Gal2
112112
github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0/go.mod h1:i2C41tszDjiWfziPQDL5R/f3Zp0gahXe5No/MIO9rCE=
113113
github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c=
114114
github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0=
115+
github.com/hashicorp/terraform-plugin-testing v1.6.0 h1:Wsnfh+7XSVRfwcr2jZYHsnLOnZl7UeaOBvsx6dl/608=
116+
github.com/hashicorp/terraform-plugin-testing v1.6.0/go.mod h1:cJGG0/8j9XhHaJZRC+0sXFI4uzqQZ9Az4vh6C4GJpFE=
115117
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI=
116118
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
117119
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=

0 commit comments

Comments
 (0)