Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the terraform group with 4 updates (#109)
Bumps the terraform group with 4 updates: [github.com/hashicorp/terraform-plugin-docs](https://github.com/hashicorp/terraform-plugin-docs), [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework), [github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go) and [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing). Updates `github.com/hashicorp/terraform-plugin-docs` from 0.16.0 to 0.18.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-docs/releases">github.com/hashicorp/terraform-plugin-docs's releases</a>.</em></p> <blockquote> <h2>v0.18.0</h2> <p>FEATURES:</p> <ul> <li>generate: Add support for Provider-defined Function documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> <li>migrate: Add support for Provider-defined Function documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>validate: Add <code>functions</code> to list of allowed template and rendered website subdirectories (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> </ul> <h2>v0.17.0</h2> <p>BREAKING CHANGES:</p> <ul> <li>generate: templates using <code>printf</code> with either <code>codefile</code> or <code>tffile</code> to render code examples in markdown will need to switch to using those functions directly. For example, switch the following template code: <code>{{printf "{{codefile \"shell\" %q}}" .ImportFile}}</code> to <code>{{codefile "shell" .ImportFile}}</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/300">#300</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>migrate: Added new <code>migrate</code> subcommand that migrates existing provider docs using the rendered website source directories (<code>website/docs/</code> or <code>/docs/</code>) to a <code>terraform-plugin-docs</code>-supported templates directory. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/314">#314</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>generate: Add <code>provider-schema</code> flag to pass in a file path to a provider schema JSON file, allowing the command to skip building the provider and calling Terraform CLI (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/299">#299</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>generate: fix <code>no such file or directory</code> error when running <code>generate</code> with no existing rendered website directory. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/296">#296</a>)</li> <li>generate: fix incorrect rendering of example and import files for providers with no docs templates or with generic fallback templates. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/300">#300</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-docs/blob/main/CHANGELOG.md">github.com/hashicorp/terraform-plugin-docs's changelog</a>.</em></p> <blockquote> <h2>0.18.0 (January 24, 2024)</h2> <p>FEATURES:</p> <ul> <li>generate: Add support for Provider-defined Function documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> <li>migrate: Add support for Provider-defined Function documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>validate: Add <code>functions</code> to list of allowed template and rendered website subdirectories (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> </ul> <h2>0.17.0 (January 17, 2024)</h2> <p>BREAKING CHANGES:</p> <ul> <li>generate: templates using <code>printf</code> with either <code>codefile</code> or <code>tffile</code> to render code examples in markdown will need to switch to using those functions directly. For example, switch the following template code: <code>{{printf "{{codefile \"shell\" %q}}" .ImportFile}}</code> to <code>{{codefile "shell" .ImportFile}}</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/300">#300</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>migrate: Added new <code>migrate</code> subcommand that migrates existing provider docs using the rendered website source directories (<code>website/docs/</code> or <code>/docs/</code>) to a <code>terraform-plugin-docs</code>-supported templates directory. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/314">#314</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>generate: Add <code>provider-schema</code> flag to pass in a file path to a provider schema JSON file, allowing the command to skip building the provider and calling Terraform CLI (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/299">#299</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>generate: fix <code>no such file or directory</code> error when running <code>generate</code> with no existing rendered website directory. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/296">#296</a>)</li> <li>generate: fix incorrect rendering of example and import files for providers with no docs templates or with generic fallback templates. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/300">#300</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/4c08c0eed13b3819b4342dc0cb119b3be62305b1"><code>4c08c0e</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/69163cd34b1dd82989d338020dcf066e779b6f34"><code>69163cd</code></a> Add Support for Provider-defined Function Documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/328">#328</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/56c7fae74f885ee2e2bc5348035d62c72687f9e0"><code>56c7fae</code></a> Bump github.com/hashicorp/terraform-json from 0.20.0 to 0.21.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/325">#325</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/1856bda3cf43d608c6c127c6bce8b841a0737172"><code>1856bda</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/6dec712fb402921fab6a6fca383e908bbb52bb2b"><code>6dec712</code></a> Bump github.com/rogpeppe/go-internal from 1.11.0 to 1.12.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/306">#306</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/042eb55cb3191282e8ffbae2cd05474eee609845"><code>042eb55</code></a> Document the default behavior of <code>--tf-version</code> and usage of Terraform binary...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/2e13971edd11385e94c2f18a9d524651dbd642e9"><code>2e13971</code></a> deps: Migrate to github.com/hashicorp/cli (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/322">#322</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/eff4087f0c37ea25f8d032ccf87d0d833f4dc45f"><code>eff4087</code></a> Update README.md - add <code>tools.go</code> quick example (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/289">#289</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/068a22697e08a30c09544e0e5a3715d7b744b1d7"><code>068a226</code></a> Implement <code>migrate</code> sub-command (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/314">#314</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-docs/commit/8456c0cd9e8a124a6b2f7387fa064be8341b8ee9"><code>8456c0c</code></a> Bump github.com/hashicorp/terraform-json from 0.18.0 to 0.20.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-docs/issues/315">#315</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-docs/compare/v0.16.0...v0.18.0">compare view</a></li> </ul> </details> <br /> Updates `github.com/hashicorp/terraform-plugin-framework` from 1.3.2 to 1.6.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-framework/releases">github.com/hashicorp/terraform-plugin-framework's releases</a>.</em></p> <blockquote> <h2>v1.6.1</h2> <p>NOTES:</p> <ul> <li>all: The <code>v1.6.0</code> release updated this Go module to Go 1.21 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.21">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937">#937</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>resource/schema: Ensured invalid attribute default value errors are raised (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/930">#930</a>)</li> <li>function: Added implementation validation to <code>function.Definition</code> to ensure all parameter names (including the variadic parameter) are unique. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926">#926</a>)</li> <li>function: Updated the default parameter name to include the position of the parameter (i.e. <code>param1</code>, <code>param2</code>, etc.). Variadic parameters will default to <code>varparam</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926">#926</a>)</li> </ul> <h2>v1.6.0</h2> <p>BREAKING CHANGES:</p> <ul> <li>function: Changed the framework type for variadic parameters to <code>types.TupleType</code>, where each element is the same element type. Provider-defined functions using a <code>types.List</code> for retrieving variadic argument data will need to update their code to use <code>types.Tuple</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/923">#923</a>)</li> <li>function: Altered the <code>RunResponse</code> type, replacing <code>Diagnostics</code> with <code>FuncError</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> <li>diag: Removed <code>DiagnosticWithFunctionArgument</code> interface. Removed <code>NewArgumentErrorDiagnostic()</code>, <code>NewArgumentWarningDiagnostic()</code> and <code>WithFunctionArgument()</code> functions. Removed <code>AddArgumentError()</code> and <code>AddArgumentWarning()</code> methods from <code>Diagnostics</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>resource: Added the <code>ResourceWithMoveState</code> interface, which enables state moves across resource types with Terraform 1.8 and later (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/917">#917</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>privatestate: Added support for <code>SetKey()</code> method to fully remove key with <code>nil</code> or zero-length value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/910">#910</a>)</li> <li>function: Added <code>FuncError</code> type, required for <code>RunResponse</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> <li>function: Added <code>NewFuncError()</code> and <code>NewArgumentFuncError()</code> functions, which create a <code>FuncError</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> <li>function: Added <code>ConcatFuncErrors()</code> and <code>FuncErrorFromDiags()</code> helper functions for use when working with <code>FuncError</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> </ul> <h2>v1.5.0</h2> <p>NOTES:</p> <ul> <li>all: Update <code>google.golang.org/grpc</code> dependency to address CVE-2023-44487 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/865">#865</a>)</li> <li>Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>function: New package for implementing provider defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>types/basetypes: Added <code>TupleType</code> and <code>TupleValue</code> implementations, which are only necessary for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/870">#870</a>)</li> <li>diag: Added <code>NewArgumentErrorDiagnostic()</code> and <code>NewArgumentWarningDiagnostic()</code> functions, which create diagnostics with the function argument position set (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> <li>provider: Added <code>ProviderWithFunctions</code> interface for implementing provider defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> <li>diag: Added <code>(Diagnostics).AddArgumentError()</code> and <code>(Diagnostics).AddArgumentWarning()</code> methods for appending function argument diagnostics (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> </ul> <h2>v1.4.2</h2> <p>BUG FIXES:</p> <ul> <li>resource: Add <code>Private</code> field to <code>DeleteResource</code> type, which was missing to allow provider logic to update private state on errors (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/863">#863</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md">github.com/hashicorp/terraform-plugin-framework's changelog</a>.</em></p> <blockquote> <h2>1.6.1 (March 05, 2024)</h2> <p>NOTES:</p> <ul> <li>all: The <code>v1.6.0</code> release updated this Go module to Go 1.21 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.21">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937">#937</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>resource/schema: Ensured invalid attribute default value errors are raised (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/930">#930</a>)</li> <li>function: Added implementation validation to <code>function.Definition</code> to ensure all parameter names (including the variadic parameter) are unique. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926">#926</a>)</li> <li>function: Updated the default parameter name to include the position of the parameter (i.e. <code>param1</code>, <code>param2</code>, etc.). Variadic parameters will default to <code>varparam</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/926">#926</a>)</li> </ul> <h2>1.6.0 (February 28, 2024)</h2> <p>BREAKING CHANGES:</p> <ul> <li>function: Changed the framework type for variadic parameters to <code>types.TupleType</code>, where each element is the same element type. Provider-defined functions using a <code>types.List</code> for retrieving variadic argument data will need to update their code to use <code>types.Tuple</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/923">#923</a>)</li> <li>function: Altered the <code>RunResponse</code> type, replacing <code>Diagnostics</code> with <code>FuncError</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> <li>diag: Removed <code>DiagnosticWithFunctionArgument</code> interface. Removed <code>NewArgumentErrorDiagnostic()</code>, <code>NewArgumentWarningDiagnostic()</code> and <code>WithFunctionArgument()</code> functions. Removed <code>AddArgumentError()</code> and <code>AddArgumentWarning()</code> methods from <code>Diagnostics</code>. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>resource: Added the <code>ResourceWithMoveState</code> interface, which enables state moves across resource types with Terraform 1.8 and later (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/917">#917</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>privatestate: Added support for <code>SetKey()</code> method to fully remove key with <code>nil</code> or zero-length value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/910">#910</a>)</li> <li>function: Added <code>FuncError</code> type, required for <code>RunResponse</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> <li>function: Added <code>NewFuncError()</code> and <code>NewArgumentFuncError()</code> functions, which create a <code>FuncError</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> <li>function: Added <code>ConcatFuncErrors()</code> and <code>FuncErrorFromDiags()</code> helper functions for use when working with <code>FuncError</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/925">#925</a>)</li> </ul> <h2>1.5.0 (January 11, 2024)</h2> <p>NOTES:</p> <ul> <li>all: Update <code>google.golang.org/grpc</code> dependency to address CVE-2023-44487 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/865">#865</a>)</li> <li>Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>function: New package for implementing provider defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>types/basetypes: Added <code>TupleType</code> and <code>TupleValue</code> implementations, which are only necessary for dynamic value handling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/870">#870</a>)</li> <li>diag: Added <code>NewArgumentErrorDiagnostic()</code> and <code>NewArgumentWarningDiagnostic()</code> functions, which create diagnostics with the function argument position set (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> <li>provider: Added <code>ProviderWithFunctions</code> interface for implementing provider defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> <li>diag: Added <code>(Diagnostics).AddArgumentError()</code> and <code>(Diagnostics).AddArgumentWarning()</code> methods for appending function argument diagnostics (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/889">#889</a>)</li> </ul> <h2>1.4.2 (October 24, 2023)</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/b7497c5cc4d00702551fc69f9a7ae1264bcb5bf8"><code>b7497c5</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/435ee9f96a553d6e60bb9ea100bc13b2d2496150"><code>435ee9f</code></a> Fixing documentation (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/942">#942</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/e7415b7704c7a6b8af2f343462a746c6f532b121"><code>e7415b7</code></a> Reinstate go toolchain and add changelog for Go version bump to 1.21 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/937">#937</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/1597a9529ffbddfbfcb7e20bd42471f03557b3aa"><code>1597a95</code></a> Update provider functions testing docs to help users avoid nil pointer error ...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/bd22b58c02491d36a2e237e8c2082d24f5eb5b43"><code>bd22b58</code></a> resource/schema: Ensure invalid attribute default value errors are raised (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/933">#933</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/f03ca33c5b87df9080adc9b52cef1cf49115886c"><code>f03ca33</code></a> function: Add validation for parameter name conflicts and update defaulting l...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/87c1b41b2533465f230265e663f140b4e0dd93ba"><code>87c1b41</code></a> diag: remove incorrect code (<a href="https://redirect.github.com/hashicorp/terraform-plugin-framework/issues/935">#935</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/f35653eee5dbea1a5cbcd1f421f0ec6f614a4d87"><code>f35653e</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/a99599148977b8ec59e146a1545a4ca7118684e9"><code>a995991</code></a> function: Replace usage of diagnostics with function errors during execution ...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-framework/commit/3c7a391644c7f8b8d18d8cb61153f937c80893ad"><code>3c7a391</code></a> reflect: Determine equivalency of float32 or float64, and *big.Float via stri...</li> <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-framework/compare/v1.3.2...v1.6.1">compare view</a></li> </ul> </details> <br /> Updates `github.com/hashicorp/terraform-plugin-go` from 0.18.0 to 0.22.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-go/releases">github.com/hashicorp/terraform-plugin-go's releases</a>.</em></p> <blockquote> <h2>v0.22.0</h2> <p>BREAKING CHANGES:</p> <ul> <li>tfprotov5+tfprotov6: Modified the response returned from the CallFunction RPC, replacing diagnostics with function error (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/380">#380</a>)</li> </ul> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.21 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.21">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/381">#381</a>)</li> <li>all: If using terraform-plugin-framework, terraform-plugin-mux, or terraform-plugin-sdk, only upgrade this Go module when upgrading those Go modules to terraform-plugin-framework@v1.6.0, terraform-plugin-mux@v0.15.0, and terraform-plugin-sdk/v2@v2.33.0, or greater, respectively (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/380">#380</a>)</li> </ul> <h2>v0.21.0</h2> <p>NOTES:</p> <ul> <li>tfprotov5+tfprotov6: An upcoming release will require the MoveResourceState implementation as part of ResourceServer (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/364">#364</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>tfprotov5+tfprotov6: Upgraded protocols and added types to support the <code>MoveResourceState</code> RPC (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/364">#364</a>)</li> </ul> <h2>v0.20.0</h2> <p>NOTES:</p> <ul> <li>tfprotov5+tfprotov6: An upcoming release will require the FunctionServer implementation as part of ProviderServer. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/351">#351</a>)</li> <li>Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/351">#351</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>tfprotov5+tfprotov6: Upgraded protocols and added types to support provider-defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/351">#351</a>)</li> </ul> <h2>v0.19.1</h2> <p>NOTES:</p> <ul> <li>This release introduces no functional changes. It does however include dependency updates, such as <code>google.golang.org/grpc</code>, which address upstream CVEs. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/324">#324</a>)</li> </ul> <h2>v0.19.0</h2> <p>NOTES:</p> <ul> <li>all: If using terraform-plugin-framework, terraform-plugin-mux, or terraform-plugin-sdk, only upgrade this Go module when upgrading those Go modules or you may receive a <code>missing GetMetadata method</code> error when compiling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> <li>all: This Go module has been updated to Go 1.20 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.20">Go 1.20 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/321">#321</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>tfprotov5: Upgraded protocol to 5.4 and implemented <code>GetMetadata</code> RPC (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> <li>tfprotov6: Upgraded protocol to 6.4 and implemented <code>GetMetadata</code> RPC (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>tfprotov5: Added <code>ServerCapabilities</code> type <code>GetProviderSchemaOptional</code> field, which when enabled can signal that the provider supports RPC operations without the <code>GetProviderSchema</code> RPC being called first (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> <li>tfprotov6: Added <code>ServerCapabilities</code> type <code>GetProviderSchemaOptional</code> field, which when enabled can signal that the provider supports RPC operations without the <code>GetProviderSchema</code> RPC being called first (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-go/blob/main/CHANGELOG.md">github.com/hashicorp/terraform-plugin-go's changelog</a>.</em></p> <blockquote> <h2>0.22.0 (February 22, 2024)</h2> <p>BREAKING CHANGES:</p> <ul> <li>tfprotov5+tfprotov6: Modified the response returned from the CallFunction RPC, replacing diagnostics with function error (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/380">#380</a>)</li> </ul> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.21 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.21">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/381">#381</a>)</li> <li>all: If using terraform-plugin-framework, terraform-plugin-mux, or terraform-plugin-sdk, only upgrade this Go module when upgrading those Go modules to terraform-plugin-framework@v1.6.0, terraform-plugin-mux@v0.15.0, and terraform-plugin-sdk/v2@v2.33.0, or greater, respectively (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/380">#380</a>)</li> </ul> <h2>0.21.0 (January 26, 2024)</h2> <p>NOTES:</p> <ul> <li>tfprotov5+tfprotov6: An upcoming release will require the MoveResourceState implementation as part of ResourceServer (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/364">#364</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>tfprotov5+tfprotov6: Upgraded protocols and added types to support the <code>MoveResourceState</code> RPC (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/364">#364</a>)</li> </ul> <h2>0.20.0 (December 14, 2023)</h2> <p>NOTES:</p> <ul> <li>tfprotov5+tfprotov6: An upcoming release will require the FunctionServer implementation as part of ProviderServer. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/351">#351</a>)</li> <li>Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/351">#351</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>tfprotov5+tfprotov6: Upgraded protocols and added types to support provider-defined functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/351">#351</a>)</li> </ul> <h2>0.19.1 (November 15, 2023)</h2> <p>NOTES:</p> <ul> <li>This release introduces no functional changes. It does however include dependency updates, such as <code>google.golang.org/grpc</code>, which address upstream CVEs. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/324">#324</a>)</li> </ul> <h2>0.19.0 (September 06, 2023)</h2> <p>NOTES:</p> <ul> <li>all: If using terraform-plugin-framework, terraform-plugin-mux, or terraform-plugin-sdk, only upgrade this Go module when upgrading those Go modules or you may receive a <code>missing GetMetadata method</code> error when compiling (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> <li>all: This Go module has been updated to Go 1.20 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.20">Go 1.20 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/321">#321</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>tfprotov5: Upgraded protocol to 5.4 and implemented <code>GetMetadata</code> RPC (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> <li>tfprotov6: Upgraded protocol to 6.4 and implemented <code>GetMetadata</code> RPC (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/310">#310</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/01b86e957909a2845ecce8d58f502771b4d70d99"><code>01b86e9</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/d39a78e69824ad918078d13c0f63638162ae1122"><code>d39a78e</code></a> all: Update Go Module to Go 1.21 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/381">#381</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/90a82fe9715d52bae9ea775601c4539526501237"><code>90a82fe</code></a> tfprotov5+tfprotov6: Replace usage of diagnostics in CallFunction RPC with fu...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/0624268c976ec549c7e652ab912d86cd0ee535f8"><code>0624268</code></a> Result of tsccr-helper -log-level=info gha update -latest . (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/379">#379</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/72a8cdf8fee576a553d7f290582ed135a0ff6f9e"><code>72a8cdf</code></a> build(deps): Bump google.golang.org/grpc from 1.61.0 to 1.61.1 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/378">#378</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/de5d97e273e5daebed112bc644cc21ee7c979354"><code>de5d97e</code></a> Result of tsccr-helper -log-level=info gha update -latest . (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/377">#377</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/266801d6ab6ee97c4f4e2ff05b78b54a81dbd619"><code>266801d</code></a> Result of tsccr-helper -log-level=info gha update -latest . (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/376">#376</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/a3f1922a21412f0d815893e337385a289730925b"><code>a3f1922</code></a> build(deps): Bump hashicorp/setup-terraform from 2.0.3 to 3.0.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/375">#375</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/950148e6774c9b7432e68e0106842a34acbbdca1"><code>950148e</code></a> Added GHA dependabot config for managing hashicorp actions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/374">#374</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-go/commit/8aaa80a2200652ec463a345e7ea84507bcc2b3a2"><code>8aaa80a</code></a> Result of tsccr-helper -log-level=info gha update -latest . (<a href="https://redirect.github.com/hashicorp/terraform-plugin-go/issues/373">#373</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-go/compare/v0.18.0...v0.22.0">compare view</a></li> </ul> </details> <br /> Updates `github.com/hashicorp/terraform-plugin-testing` from 1.5.1 to 1.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-testing/releases">github.com/hashicorp/terraform-plugin-testing's releases</a>.</em></p> <blockquote> <h2>v1.7.0</h2> <p>NOTES:</p> <ul> <li>helper/resource: Error messages generated by the testing logic, which were updated for clarity in this release, are not protected by compatibility promises. While testing logic errors are usable in certain scenarios with <code>ErrorCheck</code> and <code>ExpectError</code> functionality, error messaging checks should be based on provider-controlled messaging or when appropriate to use other testing features such as <code>ExpectNonEmptyPlan</code> instead. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/238">#238</a>)</li> <li>Numerical values in the plan are now represented as json.Number, not float64. Custom plan checks relying upon float64 representation may need altering (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>plancheck: Deprecated <code>ExpectNullOutputValue</code> and <code>ExpectNullOutputValueAtPath</code>. Use <code>ExpectKnownOutputValue</code> and <code>ExpectKnownOutputValueAtPath</code> with <code>knownvalue.Null</code> instead (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>plancheck: <code>ExpectKnownValue</code>, <code>ExpectKnownOutputValue</code> and <code>ExpectKnownOutputValueAtPath</code> plan checks are considered experimental and may be altered or removed in a subsequent release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/276">#276</a>)</li> <li>statecheck: <code>ExpectKnownValue</code>, <code>ExpectKnownOutputValue</code> and <code>ExpectKnownOutputValueAtPath</code> state checks are considered experimental and may be altered or removed in a subsequent release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/276">#276</a>)</li> <li>knownvalue: The <code>knownvalue</code> package is considered experimental and may be altered or removed in a subsequent release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/276">#276</a>)</li> <li>all: This Go module has been updated to Go 1.21 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.21">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/300">#300</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>plancheck: Added <code>ExpectKnownValue</code> plan check, which asserts that a given resource attribute has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>plancheck: Added <code>ExpectKnownOutputValue</code> plan check, which asserts that a given output value has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>plancheck: Added <code>ExpectKnownOutputValueAtPath</code> plan check, which asserts that a given output value at a specified path has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>knownvalue: Introduced new <code>knownvalue</code> package which contains types for working with plan checks and state checks (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>statecheck: Introduced new <code>statecheck</code> package with interface and built-in state check functionality (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectKnownValue</code> state check, which asserts that a given resource attribute has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectKnownOutputValue</code> state check, which asserts that a given output value has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectKnownOutputValueAtPath</code> plan check, which asserts that a given output value at a specified path has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectSensitiveValue</code> built-in state check, which asserts that a given attribute has a sensitive value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>helper/resource: Clarified error messaging from testing failures, especially when using <code>TestStep.PlanOnly: true</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/238">#238</a>)</li> <li>helper/resource: Fix detection of provider block declaration in <code>Config</code>, <code>ConfigDirectory</code>, and <code>ConfigFile</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/265">#265</a>)</li> <li>helper/resource: Fix detection of terraform block declaration in <code>Config</code>, <code>ConfigDirectory</code>, and <code>ConfigFile</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/265">#265</a>)</li> <li>helper/resource: Fixed internal deferred test helpers to properly report file and line information in test failures. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/292">#292</a>)</li> </ul> <h2>v1.6.0</h2> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.20 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.20">Go 1.20 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/180">#180</a>)</li> <li>helper/resource: Configuration based <code>TestStep</code> now include post-apply plan checks for output changes in addition to resource changes. If this causes unexpected new test failures, most <code>output</code> configuration blocks can be likely be removed. Test steps involving resources and data sources should never need to use <code>output</code> configuration blocks as plan and state checks support working on resource and data source attributes values directly. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/234">#234</a>)</li> <li>helper/resource: Implicit <code>terraform refresh</code> commands during each <code>TestStep</code> have been removed to fix plan check and performance issues, which can cause new test failures when testing schema changes (e.g. state upgrades) that have a final <code>TestStep</code> with <code>PlanOnly: true</code>. Remove <code>PlanOnly: true</code> from the final <code>TestStep</code> to fix affected tests which will ensure that updated schema changes are applied to the state before attempting to automatically destroy resources. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/223">#223</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>plancheck: Added <code>ExpectUnknownOutputValue</code> built-in plan check, which asserts that a given output value at a specified address is unknown (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> <li>plancheck: Added <code>ExpectUnknownOutputValueAtPath</code> built-in plan check, which asserts that a given output value at a specified address, and path is unknown (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> <li>plancheck: Added <code>ExpectNullOutputValue</code> built-in plan check, which asserts that a given output value at a specified address is null (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> <li>plancheck: Added <code>ExpectNullOutputValueAtPath</code> built-in plan check, which asserts that a given output value at a specified address, and path is null (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>helper/resource: Removed separate refresh commands, which increases testing performance (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/223">#223</a>)</li> <li>helper/resource: Automatically add <code>required_providers</code> configuration to <code>TestStep.Config</code> Terraform language configuration when using Terraform >= 1.0.* (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/216">#216</a>)</li> </ul> <p>BUG FIXES:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md">github.com/hashicorp/terraform-plugin-testing's changelog</a>.</em></p> <blockquote> <h2>1.7.0 (March 05, 2024)</h2> <p>NOTES:</p> <ul> <li>helper/resource: Error messages generated by the testing logic, which were updated for clarity in this release, are not protected by compatibility promises. While testing logic errors are usable in certain scenarios with <code>ErrorCheck</code> and <code>ExpectError</code> functionality, error messaging checks should be based on provider-controlled messaging or when appropriate to use other testing features such as <code>ExpectNonEmptyPlan</code> instead. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/238">#238</a>)</li> <li>Numerical values in the plan are now represented as json.Number, not float64. Custom plan checks relying upon float64 representation may need altering (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>plancheck: Deprecated <code>ExpectNullOutputValue</code> and <code>ExpectNullOutputValueAtPath</code>. Use <code>ExpectKnownOutputValue</code> and <code>ExpectKnownOutputValueAtPath</code> with <code>knownvalue.Null</code> instead (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>plancheck: <code>ExpectKnownValue</code>, <code>ExpectKnownOutputValue</code> and <code>ExpectKnownOutputValueAtPath</code> plan checks are considered experimental and may be altered or removed in a subsequent release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/276">#276</a>)</li> <li>statecheck: <code>ExpectKnownValue</code>, <code>ExpectKnownOutputValue</code> and <code>ExpectKnownOutputValueAtPath</code> state checks are considered experimental and may be altered or removed in a subsequent release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/276">#276</a>)</li> <li>knownvalue: The <code>knownvalue</code> package is considered experimental and may be altered or removed in a subsequent release (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/276">#276</a>)</li> <li>all: This Go module has been updated to Go 1.21 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.21">Go 1.21 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/300">#300</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>plancheck: Added <code>ExpectKnownValue</code> plan check, which asserts that a given resource attribute has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>plancheck: Added <code>ExpectKnownOutputValue</code> plan check, which asserts that a given output value has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>plancheck: Added <code>ExpectKnownOutputValueAtPath</code> plan check, which asserts that a given output value at a specified path has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>knownvalue: Introduced new <code>knownvalue</code> package which contains types for working with plan checks and state checks (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/248">#248</a>)</li> <li>statecheck: Introduced new <code>statecheck</code> package with interface and built-in state check functionality (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectKnownValue</code> state check, which asserts that a given resource attribute has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectKnownOutputValue</code> state check, which asserts that a given output value has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectKnownOutputValueAtPath</code> plan check, which asserts that a given output value at a specified path has a defined type, and value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> <li>statecheck: Added <code>ExpectSensitiveValue</code> built-in state check, which asserts that a given attribute has a sensitive value (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/275">#275</a>)</li> </ul> <p>BUG FIXES:</p> <ul> <li>helper/resource: Clarified error messaging from testing failures, especially when using <code>TestStep.PlanOnly: true</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/238">#238</a>)</li> <li>helper/resource: Fix detection of provider block declaration in <code>Config</code>, <code>ConfigDirectory</code>, and <code>ConfigFile</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/265">#265</a>)</li> <li>helper/resource: Fix detection of terraform block declaration in <code>Config</code>, <code>ConfigDirectory</code>, and <code>ConfigFile</code> (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/265">#265</a>)</li> <li>helper/resource: Fixed internal deferred test helpers to properly report file and line information in test failures. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/292">#292</a>)</li> </ul> <h2>1.6.0 (December 04, 2023)</h2> <p>NOTES:</p> <ul> <li>all: This Go module has been updated to Go 1.20 per the <a href="https://go.dev/doc/devel/release#policy">Go support policy</a>. It is recommended to review the <a href="https://go.dev/doc/go1.20">Go 1.20 release notes</a> before upgrading. Any consumers building on earlier Go versions may experience errors. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/180">#180</a>)</li> <li>helper/resource: Configuration based <code>TestStep</code> now include post-apply plan checks for output changes in addition to resource changes. If this causes unexpected new test failures, most <code>output</code> configuration blocks can be likely be removed. Test steps involving resources and data sources should never need to use <code>output</code> configuration blocks as plan and state checks support working on resource and data source attributes values directly. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/234">#234</a>)</li> <li>helper/resource: Implicit <code>terraform refresh</code> commands during each <code>TestStep</code> have been removed to fix plan check and performance issues, which can cause new test failures when testing schema changes (e.g. state upgrades) that have a final <code>TestStep</code> with <code>PlanOnly: true</code>. Remove <code>PlanOnly: true</code> from the final <code>TestStep</code> to fix affected tests which will ensure that updated schema changes are applied to the state before attempting to automatically destroy resources. (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/223">#223</a>)</li> </ul> <p>FEATURES:</p> <ul> <li>plancheck: Added <code>ExpectUnknownOutputValue</code> built-in plan check, which asserts that a given output value at a specified address is unknown (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> <li>plancheck: Added <code>ExpectUnknownOutputValueAtPath</code> built-in plan check, which asserts that a given output value at a specified address, and path is unknown (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> <li>plancheck: Added <code>ExpectNullOutputValue</code> built-in plan check, which asserts that a given output value at a specified address is null (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> <li>plancheck: Added <code>ExpectNullOutputValueAtPath</code> built-in plan check, which asserts that a given output value at a specified address, and path is null (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/220">#220</a>)</li> </ul> <p>ENHANCEMENTS:</p> <ul> <li>helper/resource: Removed separate refresh commands, which increases testing performance (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/223">#223</a>)</li> <li>helper/resource: Automatically add <code>required_providers</code> configuration to <code>TestStep.Config</code> Terraform language configuration when using Terraform >= 1.0.* (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/216">#216</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/beb55940ea199f384f0353dd692278fd341e2d4e"><code>beb5594</code></a> Update changelog</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/77f39ff78eacab21f8aedf4cbcad836a5982aa61"><code>77f39ff</code></a> build(deps): Bump golang.org/x/crypto from 0.20.0 to 0.21.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/301">#301</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/246ec9898f13fedb5931cebbdde3fae31cbdeb93"><code>246ec98</code></a> Bump Go version to 1.21 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/300">#300</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/8d9600475b19724785e9ff43b8d4379d8e8318c9"><code>8d96004</code></a> Adding experimental status and example usage for <code>ExpectKnownValue</code>, `ExpectK...</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/cfd66407b073bac709fd527c17248e06663e877d"><code>cfd6640</code></a> build(deps): Bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/298">#298</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/d9286dbceffb8cce1c4d488f0da24dee5f5b6336"><code>d9286db</code></a> build(deps): Bump github.com/zclconf/go-cty from 1.14.2 to 1.14.3 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/299">#299</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/e3316c0f04a6f300c8d6221a3e34eff41d8fecc6"><code>e3316c0</code></a> build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/296">#296</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/ff585cf96e307e64584920cf593466ef203fd313"><code>ff585cf</code></a> Add calls to <code>t.Helper()</code> in <code>defer</code>ed functions (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/293">#293</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/a8803ed757342c5ab19ebc8ac262eb2d644b66c1"><code>a8803ed</code></a> build(deps): Bump golang.org/x/crypto from 0.19.0 to 0.20.0 (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/297">#297</a>)</li> <li><a href="https://github.com/hashicorp/terraform-plugin-testing/commit/058bbd4de596994736314a4b7bd3a24590a69014"><code>058bbd4</code></a> Result of tsccr-helper -log-level=info gha update -latest . (<a href="https://redirect.github.com/hashicorp/terraform-plugin-testing/issues/291">#291</a>)</li> <li>Additional commits viewable in <a href="https://github.com/hashicorp/terraform-plugin-testing/compare/v1.5.1...v1.7.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information