You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AWS provider recently implemented a bug fix which included a custom set validator to check for null values. In our use case null values could not be used with the underlying AWS API, and therefore should be surfaced as errors as early as possible. A similar validator could be implemented for list types.
Similar to #231, I'm not sure if this use case is a common enough to warrant moving up into this repository but again thought I'd offer up our implementation in case.
Proposal
Add a new NoNullValues validator to the setvalidator and listvalidator packages.
I derived the name from the UniqueValues list validator, but am open to any suggestions.
Terraform CLI and Framework Versions
Use Cases or Problem Statement
The AWS provider recently implemented a bug fix which included a custom set validator to check for null values. In our use case null values could not be used with the underlying AWS API, and therefore should be surfaced as errors as early as possible. A similar validator could be implemented for list types.
Similar to #231, I'm not sure if this use case is a common enough to warrant moving up into this repository but again thought I'd offer up our implementation in case.
Proposal
Add a new
NoNullValues
validator to thesetvalidator
andlistvalidator
packages.I derived the name from the
UniqueValues
list validator, but am open to any suggestions.Additional Information
Relates hashicorp/terraform-provider-aws#40076
Code of Conduct
The text was updated successfully, but these errors were encountered: