-
Notifications
You must be signed in to change notification settings - Fork 11
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
List Size Validation (SizeAtLeast, SizeAtMost, SizeBetween) #4
Labels
Milestone
Comments
bendbennett
added a commit
that referenced
this issue
Jun 21, 2022
bendbennett
added a commit
that referenced
this issue
Jun 22, 2022
bendbennett
added a commit
that referenced
this issue
Jun 22, 2022
bendbennett
added a commit
that referenced
this issue
Jun 23, 2022
bendbennett
added a commit
that referenced
this issue
Jun 23, 2022
bendbennett
added a commit
that referenced
this issue
Jun 23, 2022
bendbennett
added a commit
that referenced
this issue
Jun 23, 2022
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform CLI and Framework Versions
Any Terraform CLI version; terraform-plugin-framework v0.8.0
Use Cases or Problem Statement
Provider developers should be able to generically validate
types.List
values for their element count (size). For example:Proposal
Inside a
listvalidator
package, create three new unexported types that satisfy thetfsdk.AttributeValidator
interface:Then, create exported functions that return these:
This would allow provider developers to declare attributes such as:
Additional Information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: