RequiredWith / ConflictsWith and Terraform Plugin Framework?

Wondering if there is an implementation or way to implement a “RequiredWith” or “ConflictsWith” setting for attributes using the new plugin framework? I know I can create a validator but have never created one at a resource level in order to see if one attribute is set that another is, etc.

Is there a better way to implement or a best practice?


does ExactlyOneOf work with the SDKv2? that’s what i used but I’m not sure if what i have is the “new plugin framework” or the old one.