Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: Remove remaining Block-based MaxItems and MinItems functionality #577

Merged
merged 3 commits into from Dec 13, 2022

Commits on Dec 13, 2022

  1. 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
    bflad committed Dec 13, 2022
    Copy the full SHA
    7b9706f View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #576

    bflad committed Dec 13, 2022
    Copy the full SHA
    6d6de71 View commit details
    Browse the repository at this point in the history
  3. all: Remove remaining Block-based MaxItems and MinItems functionality

    Reference: #437
    
    Block MaxItems and MinItems support, while defined in the Terraform protocol, is intentially not included in the newer schema handling. Terraform can only perform limited static analysis of blocks and errors generated occur before the provider is called for configuration validation, which means that practitioners do not get all configuration errors at the same time. Provider developers can implement validators to achieve the same validation functionality, for example using the `listvalidator.Size*` and `setvalidator.Size*` validators in the terraform-plugin-framework-validators Go module.
    bflad committed Dec 13, 2022
    Copy the full SHA
    208ed78 View commit details
    Browse the repository at this point in the history