We are in the the process of migrating our SDKv2 to plugin to terraform framework. I noticed that there are a lot of validation functions from SDKv2 such as validation.StringIsJSON that we use but I haven’t been able to find the correct alternative for these in the framework.
Can you please guide me on how these validations can be migrated to the framework implementation of our plugin schemas?
We have a lot of ValidateFunc on attributes in our schemas. I understand that for any custom validation we need to implement a custom validator.
Since we have custom validator function on a lot of the attributes is there a recommended better way or are we going to have to implement separate validators for each attribute?