Provider-defined functions are new in Terraform 1.8+ (and opentofu 1.7+)
This is expected to be a replacement for the oci_string and oci_ref datasources, which perform the same logic, but have their results persisted in state, which adds to slowness.
Provider-defined functions are new in Terraform 1.8+ (and opentofu 1.7+)
This is expected to be a replacement for the
oci_string
andoci_ref
datasources, which perform the same logic, but have their results persisted in state, which adds to slowness.Usage
Docs
https://developer.hashicorp.com/terraform/plugin/framework/functions/concepts https://developer.hashicorp.com/terraform/plugin/framework/functions/returns/object https://developer.hashicorp.com/terraform/plugin/framework/functions/testing