I am automating Delta Sharing from Databricks to non-Databricks recipients using Terraform. I can successfully create shares and recipients with my Terraform code, retrieve the sharing URL after creating the recipient, and see that the URL gets a default expiration time. However, I am facing an issue where I cannot set a custom expiration time for the URL through my Terraform code.
Here is the code snippet I am using to create the recipient:
resource "databricks_recipient" "external_recipient" {
name = var.recipient_name
comment = "Created by Terraform"
authentication_type = "TOKEN"
ip_access_list {
allowed_ip_addresses = [] # Define allowed IPv4 addresses (optional)
}
}