Terraform AzureRM provider 4.0 adds provider-defined functions
Version 4.0 of the HashiCorp Terraform AzureRM provider brings support for provider-defined functions and improved resource provider registration.