BoolValidator
Bool validator are used to validate the plan of a boolean attribute.
It will be used into the Validators field of the schema.BoolAttribute struct.
How to use it
import (
fboolvalidator "github.com/FrangipaneTeam/terraform-plugin-framework-validators/boolvalidator"
)
List of Validators
RequireIfAttributeIsOneOf- This validator is used to require the attribute if another attribute is one of the given values.RequireIfAttributeIsSet- This validator is used to require the attribute if another attribute is set.NullIfAttributeIsOneOf- This validator is used to verify the attribute value is null if another attribute is one of the given values.NullIfAttributeIsSet- This validator is used to verify the attribute value is null if another attribute is set.
Special
Not- This validator is used to negate the result of another validator.