-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resource+tfsdk: Remove tfsdk package schema types and functions
Reference: #132 Reference: #326 Reference: #491 Refer to the following pull request descriptions for migration information about migrating to the split schema packages: - `datasource/schema`: #546 - `provider/schema`: #553 - `resource/schema`: #558 - `provider/metaschema`: #562
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
```release-note:breaking-change | ||
resource: The `RequiresReplace()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplace()` or `resource/schema/stringplanmodifier.RequiresReplaceIfConfigured()` | ||
``` | ||
|
||
```release-note:breaking-change | ||
resource: The `RequiresReplaceIf()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.RequiresReplaceIf()` | ||
``` | ||
|
||
```release-note:breaking-change | ||
resource: The `Resource` type `GetSchema` method has been removed. Use the `Schema` method instead. | ||
``` | ||
|
||
```release-note:breaking-change | ||
resource: The `UseStateForUnknown()` plan modifier has been removed. Use a type-specific plan modifier instead, such as `resource/schema/stringplanmodifier.UseStateForUnknown()` | ||
``` | ||
|
||
```release-note:breaking-change | ||
tfsdk: The `Attribute`, `Block`, and `Schema` types have been removed. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead. | ||
``` | ||
|
||
```release-note:breaking-change | ||
tfsdk: The `AttributePlanModifier` interface has been removed. Use the type-specific plan modifier interfaces in the `resource/schema/planmodifier` package instead. | ||
``` | ||
|
||
```release-note:breaking-change | ||
tfsdk: The `AttributeValidator` interface has been removed. Use the type-specific validator interfaces in the `schema/validator` package instead. | ||
``` | ||
|
||
```release-note:breaking-change | ||
tfsdk: The `ListNestedAttributes`, `MapNestedAttributes`, `SetNestedAttributes`, and `SingleNestedAttributes` functions have been removed. Use the similarly named types in the `datasource/schema`, `provider/schema`, and `resource/schema` packages instead. | ||
``` |