Is it possible to provide custom terraform functions https://www.terraform.io/docs/configuration/functions.html from a provider?
Unfortunately, Terraform functions aren’t something that the protocol makes available for providers to define. That sounds like an interesting feature, however, and I bet the core team would appreciate an issue describing use cases for adding it to the protocol!