<?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 Re: Trouble with host url parameterization in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/trouble-with-host-url-parameterization/m-p/91950#M1920</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123119"&gt;@jasont41&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Your assumption is correct. You can't use variable for host mapping. You can find information about it in the following documentation entry:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/settings.html#other-workspace-mappings" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/dev-tools/bundles/settings.html#other-workspace-mappings&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 17:46:56 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2024-09-26T17:46:56Z</dc:date>
    <item>
      <title>Trouble with host url parameterization</title>
      <link>https://community.databricks.com/t5/administration-architecture/trouble-with-host-url-parameterization/m-p/91928#M1919</link>
      <description>&lt;P&gt;I am attempting to&amp;nbsp;parameterize a databricks yaml so I can deploy it to multiple databricks accounts via Gitlab CICD, and have ran into a snag when parameterizing the workpace host value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My variable block looks like this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;variables&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; databricks_host&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; description&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;Databricks host URL&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; default&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;my_url&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And I reference the variable like so:&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; host&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;${var.databricks_host}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I set the variable with&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BUNDLE_VAR_databricks_host&lt;/SPAN&gt;&lt;SPAN&gt;: &amp;lt;url&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;in the Gitlab CI pipeline. I have verified that this pattern works with other variables, it is just this variable reference that won't resolve.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This is the error I get:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Error: failed during request visitor: parse "https://${var.databricks_host}": invalid character "{" in host name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://devops.pnnl.gov/victoria-station/data-management/virus-total/virus-total-etl/-/jobs/248214#L53" target="_blank" rel="noopener"&gt;53&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Name: &amp;lt;workflow_name&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://devops.pnnl.gov/victoria-station/data-management/virus-total/virus-total-etl/-/jobs/248214#L54" target="_blank" rel="noopener"&gt;54&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Target: dev&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://devops.pnnl.gov/victoria-station/data-management/virus-total/virus-total-etl/-/jobs/248214#L55" target="_blank" rel="noopener"&gt;55&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Workspace:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://devops.pnnl.gov/victoria-station/data-management/virus-total/virus-total-etl/-/jobs/248214#L56" target="_blank" rel="noopener"&gt;56&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Host: ${var.databricks_host}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://devops.pnnl.gov/victoria-station/data-management/virus-total/virus-total-etl/-/jobs/248214#L57" target="_blank" rel="noopener"&gt;57&lt;/A&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Found 1 error&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I am beginning to think that this particular value cannot be assigned with a variable, but I haven't found anything in the documentation to backup that assumption. Any help would be greatly appreciated!&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 15:51:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/trouble-with-host-url-parameterization/m-p/91928#M1919</guid>
      <dc:creator>jasont41</dc:creator>
      <dc:date>2024-09-26T15:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with host url parameterization</title>
      <link>https://community.databricks.com/t5/administration-architecture/trouble-with-host-url-parameterization/m-p/91950#M1920</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/123119"&gt;@jasont41&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Your assumption is correct. You can't use variable for host mapping. You can find information about it in the following documentation entry:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/settings.html#other-workspace-mappings" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/dev-tools/bundles/settings.html#other-workspace-mappings&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 17:46:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/trouble-with-host-url-parameterization/m-p/91950#M1920</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-09-26T17:46:56Z</dc:date>
    </item>
  </channel>
</rss>

