Terraform
Functions
Tip
Provider-defined function support is in technical preview and offered without compatibility promises until Terraform 1.8 is generally available.
Functions are an abstraction that allow providers to expose computational logic beyond Terraform's built-in functions and simplify practitioner configurations. Provider-defined functions are supported in Terraform 1.8 and later.
Concepts
Learn about Terraform's concepts for provider-defined functions, such as intended purpose, example use cases, and terminology. The framework's implementation details, such as naming, are based on these concepts.
Implementation
Learn about how to implement code for a provider-defined function in the framework.
Testing
Learn about how to ensure a provider-defined function implementation works as expected via unit testing and acceptance testing.
Documentation
Learn about how to document a provider-defined function implementation so practitioners can discover and use the function.