<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to Set Expiration Time for Delta Sharing URL in Databricks Using Terraform? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100394#M40280</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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,&lt;STRONG&gt; I am facing an issue where I cannot set a custom expiration time for the URL&lt;/STRONG&gt; through my Terraform code.&lt;/P&gt;&lt;P&gt;Here is the code snippet I am using to create the recipient:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;resource "databricks_recipient" "external_recipient" {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;name = var.recipient_name&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;comment = "Created by Terraform"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;authentication_type = "TOKEN"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;ip_access_list {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;allowed_ip_addresses = [] # Define allowed IPv4 addresses (optional)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;}&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Nov 2024 07:07:47 GMT</pubDate>
    <dc:creator>meghana_tulla</dc:creator>
    <dc:date>2024-11-29T07:07:47Z</dc:date>
    <item>
      <title>How to Set Expiration Time for Delta Sharing URL in Databricks Using Terraform?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100394#M40280</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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,&lt;STRONG&gt; I am facing an issue where I cannot set a custom expiration time for the URL&lt;/STRONG&gt; through my Terraform code.&lt;/P&gt;&lt;P&gt;Here is the code snippet I am using to create the recipient:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;resource "databricks_recipient" "external_recipient" {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;name = var.recipient_name&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;comment = "Created by Terraform"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;authentication_type = "TOKEN"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080"&gt;ip_access_list {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;allowed_ip_addresses = [] # Define allowed IPv4 addresses (optional)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000080"&gt;}&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 07:07:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100394#M40280</guid>
      <dc:creator>meghana_tulla</dc:creator>
      <dc:date>2024-11-29T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Expiration Time for Delta Sharing URL in Databricks Using Terraform?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100398#M40282</link>
      <description>&lt;P&gt;Hello, I did it yesterday through account console (idk if you can do it using terraform).&lt;BR /&gt;If you are an admin at higher level you can go in that window and enable your metastore to set a token with an expiration date. I hope I answer to your problem&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 08:21:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100398#M40282</guid>
      <dc:creator>jeremy98</dc:creator>
      <dc:date>2024-11-29T08:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Expiration Time for Delta Sharing URL in Databricks Using Terraform?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100412#M40289</link>
      <description>&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thank you for the response. I am able to achieve the expiration date manually, but I am trying to accomplish the same using Terraform code.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Nov 2024 10:15:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-set-expiration-time-for-delta-sharing-url-in-databricks/m-p/100412#M40289</guid>
      <dc:creator>meghana_tulla</dc:creator>
      <dc:date>2024-11-29T10:15:53Z</dc:date>
    </item>
  </channel>
</rss>

