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.
More on Providers, Resources and Data Sources
What is a resource block and how is it addressed?BeginnerWhat is the difference between a resource and a data source?BeginnerHow do you configure a provider such as AWS?BeginnerHow do you use the same provider with multiple regions or accounts?IntermediateIn what order does the AWS provider look for credentials?IntermediateWhat does `default_tags` in the AWS provider do and what are its pitfalls?Intermediate