<?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 use Terraform to add Git provider credentials to a workspace in order to use service principal for CI/CD in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-use-terraform-to-add-git-provider-credentials-to-a/m-p/32148#M23424</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very new to Terraform. Currently, I'm trying to automate the service principal setup process using Terraform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following &lt;A href="https://docs.databricks.com/dev-tools/service-principals.html#use-terraform" alt="https://docs.databricks.com/dev-tools/service-principals.html#use-terraform" target="_blank"&gt;this example&lt;/A&gt;, I successfully created a service principal and an access token. However, when I tried adding &lt;I&gt;databricks_git_credential &lt;/I&gt;to the &lt;I&gt;main.tf&lt;/I&gt;, I'm a bit confused with the provider configuration. It seems I have to use the service principal access token for &lt;I&gt;databricks_git_credential &lt;/I&gt;creation, but to create the service principal, I have to use another configuration. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could we update the configuration along the way? Do I have to create another file? Any suggestion how to do this?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2022 10:42:43 GMT</pubDate>
    <dc:creator>noimeta</dc:creator>
    <dc:date>2022-09-09T10:42:43Z</dc:date>
    <item>
      <title>How to use Terraform to add Git provider credentials to a workspace in order to use service principal for CI/CD</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-terraform-to-add-git-provider-credentials-to-a/m-p/32148#M23424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very new to Terraform. Currently, I'm trying to automate the service principal setup process using Terraform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following &lt;A href="https://docs.databricks.com/dev-tools/service-principals.html#use-terraform" alt="https://docs.databricks.com/dev-tools/service-principals.html#use-terraform" target="_blank"&gt;this example&lt;/A&gt;, I successfully created a service principal and an access token. However, when I tried adding &lt;I&gt;databricks_git_credential &lt;/I&gt;to the &lt;I&gt;main.tf&lt;/I&gt;, I'm a bit confused with the provider configuration. It seems I have to use the service principal access token for &lt;I&gt;databricks_git_credential &lt;/I&gt;creation, but to create the service principal, I have to use another configuration. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could we update the configuration along the way? Do I have to create another file? Any suggestion how to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:42:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-terraform-to-add-git-provider-credentials-to-a/m-p/32148#M23424</guid>
      <dc:creator>noimeta</dc:creator>
      <dc:date>2022-09-09T10:42:43Z</dc:date>
    </item>
  </channel>
</rss>

