terraform-plugin-framework
terraform-plugin-framework copied to clipboard
A next-generation framework for building Terraform providers.
### Module version ``` github.com/hashicorp/terraform-plugin-framework v1.1.1 ``` ### Relevant provider source code ```go type R struct { Environment types.Map `tfsdk:"environment"` } ... env := map[string]string{"t": "e"} // we have a...
### Module version ``` v1.2.0 ``` ### Use-cases After #711, the `UseStateForUnknown` plan modifier will begin raising an implementation error if it discovers during runtime that it is implemented under...
### Module version ``` v1.2.0 ``` ### Use-cases There are multiple places in the internal logic, such as the `internal/reflect` package `isValidFieldName` function, which contain the checking logic for valid...
### Module version ``` v1.2.0 ``` ### Use-cases When calling the `(types.Object).As()` method (really the `(basetypes.ObjectValue).As()` method 😉 ), the third parameter is `basetypes.ObjectAsOptions`. However, unlike everything else for framework-defined...
### Module version ``` v1.2.0 ``` ### Use-cases Over in #709, it was discovered that the `UseStateForUnknown()` plan modifier (amongst other custom ones) can return unexpected values when a parent...
### Module version ``` v1.2.0 ``` ### Use-cases When a framework List/Map/Object/Set value type is present in a data model, e.g. the `types.Object` below ```go type ExampleResourceModel struct { ID...
### Module version 0.17.0 ### Use-cases My Terraform provider offers most resources both as a data source and resource. Before this version, I could easily have one place these schemas...
### Use-cases Sometimes users want to get several resources that are tagged with the same tag in one go using a plural data source. Sometimes they want to get only...
Usually, you have to wait for a resource to reach a certain state before being considered stable. Could it be possible to have a way to define in terraform framework...
### Module version ``` github.com/hashicorp/terraform-plugin-framework v1.0.0 github.com/hashicorp/terraform-plugin-go v0.14.2 github.com/hashicorp/terraform-plugin-log v0.7.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.23.0 ``` ### Relevant provider source code I reproduced the issue i'm running into at https://github.com/mvantellingen/terraform-pf-testcase The actual implementation...