Interview Prep/Terraform/Providers, Resources and Data Sources

What are provider-defined functions?

IntermediateConceptProviders, Resources and Data Sources
Answer

Since Terraform 1.8, providers can ship functions callable as provider::<name>::<function>, for example provider::aws::arn_parse(...). They need the provider declared in required_providers. They are pure and run at plan time without API calls, which makes them good for parsing ARNs or encoding values safely.

All Terraform questions Roadmap: Terraform

More on Providers, Resources and Data Sources