all: Update google.golang.org/grpc dependency to address CVE-2023-44487 (#865)
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#889)
FEATURES:
function: New package for implementing provider defined functions (#889)
ENHANCEMENTS:
types/basetypes: Added TupleType and TupleValue implementations, which are only necessary for dynamic value handling (#870)
diag: Added NewArgumentErrorDiagnostic() and NewArgumentWarningDiagnostic() functions, which create diagnostics with the function argument position set (#889)
provider: Added ProviderWithFunctions interface for implementing provider defined functions (#889)
diag: Added (Diagnostics).AddArgumentError() and (Diagnostics).AddArgumentWarning() methods for appending function argument diagnostics (#889)
v1.4.2
BUG FIXES:
resource: Add Private field to DeleteResource type, which was missing to allow provider logic to update private state on errors (#863)
resource: Prevented private state data loss if resource destruction returned an error (#863)
all: Update google.golang.org/grpc dependency to address CVE-2023-44487 (#865)
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available. (#889)
FEATURES:
function: New package for implementing provider defined functions (#889)
ENHANCEMENTS:
types/basetypes: Added TupleType and TupleValue implementations, which are only necessary for dynamic value handling (#870)
diag: Added NewArgumentErrorDiagnostic() and NewArgumentWarningDiagnostic() functions, which create diagnostics with the function argument position set (#889)
provider: Added ProviderWithFunctions interface for implementing provider defined functions (#889)
diag: Added (Diagnostics).AddArgumentError() and (Diagnostics).AddArgumentWarning() methods for appending function argument diagnostics (#889)
1.4.2 (October 24, 2023)
BUG FIXES:
resource: Add Private field to DeleteResource type, which was missing to allow provider logic to update private state on errors (#863)
resource: Prevented private state data loss if resource destruction returned an error (#863)
helper/schema: While this Go module will not receive support for provider-defined functions, the provider server is updated to handle the new operations, which will be required to prevent errors when updating terraform-plugin-framework or terraform-plugin-mux in the future. (#1288)
v2.30.0
NOTES:
meta: The SDKVersion variable, SDKPrerelease variable, and SDKVersionString() function have been deprecated. Use the Go standard library runtime/debug package build information instead. (#1257)
BUG FIXES:
meta: Fixed version in SDKVersion variable and SDKVersionString() function (#1257)
helper/schema: Ensured (ResourceData).GetRawConfig() data is populated for Provider.ConfigureFunc and Provider.ConfigureContextFunc (#1270)
helper/schema: Ensured (ResourceData).GetOkExists() second result is true when configuration contains zero-value data in Provider.ConfigureFunc and Provider.ConfigureContextFunc (#1270)
helper/schema: While this Go module will not receive support for provider-defined functions, the provider server is updated to handle the new operations, which will be required to prevent errors when updating terraform-plugin-framework or terraform-plugin-mux in the future. (#1288)
2.30.0 (November 09, 2023)
NOTES:
meta: The SDKVersion variable, SDKPrerelease variable, and SDKVersionString() function have been deprecated. Use the Go standard library runtime/debug package build information instead. (#1257)
BUG FIXES:
meta: Fixed version in SDKVersion variable and SDKVersionString() function (#1257)
helper/schema: Ensured (ResourceData).GetRawConfig() data is populated for Provider.ConfigureFunc and Provider.ConfigureContextFunc (#1270)
helper/schema: Ensured (ResourceData).GetOkExists() second result is true when configuration contains zero-value data in Provider.ConfigureFunc and Provider.ConfigureContextFunc (#1270)
all: This Go module has been updated to Go 1.20 per the Go support policy. It is recommended to review the Go 1.20 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#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. (#234)
helper/resource: Implicit terraform refresh commands during each TestStep 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 TestStep with PlanOnly: true. Remove PlanOnly: true from the final TestStep to fix affected tests which will ensure that updated schema changes are applied to the state before attempting to automatically destroy resources. (#223)
FEATURES:
plancheck: Added ExpectUnknownOutputValue built-in plan check, which asserts that a given output value at a specified address is unknown (#220)
plancheck: Added ExpectUnknownOutputValueAtPath built-in plan check, which asserts that a given output value at a specified address, and path is unknown (#220)
plancheck: Added ExpectNullOutputValue built-in plan check, which asserts that a given output value at a specified address is null (#220)
plancheck: Added ExpectNullOutputValueAtPath built-in plan check, which asserts that a given output value at a specified address, and path is null (#220)
ENHANCEMENTS:
helper/resource: Removed separate refresh commands, which increases testing performance (#223)
helper/resource: Automatically add required_providers configuration to TestStep.Config Terraform language configuration when using Terraform >= 1.0.* (#216)
BUG FIXES:
plancheck: Ensured ExpectEmptyPlan and ExpectNonEmptyPlan account for output changes (#222)
helper/resource: Ensured TestStep.ExpectNonEmptyPlan accounts for output changes with Terraform 0.14 and later (#234)
all: This Go module has been updated to Go 1.20 per the Go support policy. It is recommended to review the Go 1.20 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#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. (#234)
helper/resource: Implicit terraform refresh commands during each TestStep 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 TestStep with PlanOnly: true. Remove PlanOnly: true from the final TestStep to fix affected tests which will ensure that updated schema changes are applied to the state before attempting to automatically destroy resources. (#223)
FEATURES:
plancheck: Added ExpectUnknownOutputValue built-in plan check, which asserts that a given output value at a specified address is unknown (#220)
plancheck: Added ExpectUnknownOutputValueAtPath built-in plan check, which asserts that a given output value at a specified address, and path is unknown (#220)
plancheck: Added ExpectNullOutputValue built-in plan check, which asserts that a given output value at a specified address is null (#220)
plancheck: Added ExpectNullOutputValueAtPath built-in plan check, which asserts that a given output value at a specified address, and path is null (#220)
ENHANCEMENTS:
helper/resource: Removed separate refresh commands, which increases testing performance (#223)
helper/resource: Automatically add required_providers configuration to TestStep.Config Terraform language configuration when using Terraform >= 1.0.* (#216)
BUG FIXES:
plancheck: Ensured ExpectEmptyPlan and ExpectNonEmptyPlan account for output changes (#222)
helper/resource: Ensured TestStep.ExpectNonEmptyPlan accounts for output changes with Terraform 0.14 and later (#234)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the gomod group with 4 updates: github.com/hashicorp/terraform-plugin-framework, github.com/hashicorp/terraform-plugin-mux, github.com/hashicorp/terraform-plugin-sdk/v2 and github.com/hashicorp/terraform-plugin-testing.
Updates
github.com/hashicorp/terraform-plugin-framework
from 1.4.1 to 1.5.0Release notes
Sourced from github.com/hashicorp/terraform-plugin-framework's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.
Commits
ea3e74d
Update changelog79accac
website: Document managed resource Read and UpgradeState unknown value errors...18af0e8
build(deps): Bump github.com/cloudflare/circl in /tools (#901)2a97b81
website: Use ConfigPlanChecks instead of PlanOnly in migration testing (#899)791e37b
function: Initial provider defined functions implementation (#889)ce8a02d
build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /tools (#895)5e257a3
Result of tsccr-helper -log-level=info gha update -latest . (#892)9cb3659
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#891)6c28dc6
Fixed documentation resource model code (#890)0545d40
Result of tsccr-helper -log-level=info -pin-all-workflows . (#886)Updates
github.com/hashicorp/terraform-plugin-mux
from 0.12.0 to 0.13.0Release notes
Sourced from github.com/hashicorp/terraform-plugin-mux's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-mux's changelog.
Commits
f240905
Update changelog3d1b409
all: Initial provider defined functions implementation (#209)58143df
build(deps): bump github.com/hashicorp/terraform-plugin-go (#211)ee832e9
Result of tsccr-helper -log-level=info -pin-all-workflows . (#208)71c35e8
.github: Update workflows to use actions variables (#207)204b41e
build(deps): bump github.com/hashicorp/copywrite in /tools (#206)11d452a
.github: Add CI for changie (#204)50b5ca2
build(deps): bump github.com/hashicorp/terraform-plugin-go from 0.19.0 to 0.1...63b19ca
build(deps): bump github.com/hashicorp/copywrite in /tools (#202)d912aa2
Result of tsccr-helper -log-level=info -pin-all-workflows . (#201)Updates
github.com/hashicorp/terraform-plugin-sdk/v2
from 2.29.0 to 2.31.0Release notes
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.
Commits
f64b778
Update changelog25d7668
Update meta package SDKVersiondbf10e6
all: Initial provider defined functions implementation (#1288)e58f4d9
build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1289)b48765e
build(deps): Bump github.com/hashicorp/hc-install from 0.6.1 to 0.6.2 (#1287)3fdb471
Result of tsccr-helper -log-level=info -pin-all-workflows . (#1286)8a3c1f6
.github: Update workflows to use actions variables (#1285)0f4c7f0
build(deps): Bump github.com/hashicorp/copywrite in /tools (#1284)d6fdfb3
build(deps): Bump golang.org/x/crypto from 0.15.0 to 0.16.0 (#1283)38ebbc0
SEC-090: Automated trusted workflow pinning (2023-11-27) (#1282)Updates
github.com/hashicorp/terraform-plugin-testing
from 1.5.1 to 1.6.0Release notes
Sourced from github.com/hashicorp/terraform-plugin-testing's releases.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-testing's changelog.
Commits
28d55ac
Update changeloge048dc6
Result of tsccr-helper -log-level=info -pin-all-workflows . (#235)38ccdbd
helper/resource: Ensure TestStep.ExpectNonEmptyPlan accounts for output chang...75af38e
plancheck: EnsureExpectEmptyPlan
andExpectNonEmptyPlan
account for outp...222d08e
Add terraform block to config when not already present (#216)880e76a
tfversion: Add variables for version 1.6.0 and 1.7.0 (#229)96e9a4c
.github: Update workflows to use actions variables (#231)f256ef9
helper/resource: Refresh during plan rather than separately and remove state ...18183b7
build(deps): Bump golang.org/x/crypto from 0.15.0 to 0.16.0 (#227)03e2e47
build(deps): Bump github.com/hashicorp/copywrite in /tools (#230)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 show