Terraform 1.8 improves extensibility with provider-defined functions
New in Terraform 1.8: Provider-defined functions let users extend Terraform with custom capabilities. Plus, refactoring can now be done across resource types.