<?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 databricks terraform provider, databricks_credential resource,  service in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129840#M3966</link>
    <description>&lt;P&gt;I cannot make the databricks_credential resource create a service credential. It works fine with storage credentials. However, when i put `purpose = "SERVICE"` plus aws_iam_role and comment, in the apply phase it fails with&amp;nbsp;&lt;BR /&gt;`Error: cannot create credential: failed during request visitor: default auth: cannot configure default credentials, please check` It surprises me to see an auth error here. The auth of the databricks service principal works fine with everything else. I tried with both workspace level and account level provider. If you need more information i'm happy to provide it&lt;/P&gt;</description>
    <pubDate>Tue, 26 Aug 2025 15:38:24 GMT</pubDate>
    <dc:creator>sunykim</dc:creator>
    <dc:date>2025-08-26T15:38:24Z</dc:date>
    <item>
      <title>databricks terraform provider, databricks_credential resource,  service</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129840#M3966</link>
      <description>&lt;P&gt;I cannot make the databricks_credential resource create a service credential. It works fine with storage credentials. However, when i put `purpose = "SERVICE"` plus aws_iam_role and comment, in the apply phase it fails with&amp;nbsp;&lt;BR /&gt;`Error: cannot create credential: failed during request visitor: default auth: cannot configure default credentials, please check` It surprises me to see an auth error here. The auth of the databricks service principal works fine with everything else. I tried with both workspace level and account level provider. If you need more information i'm happy to provide it&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 15:38:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129840#M3966</guid>
      <dc:creator>sunykim</dc:creator>
      <dc:date>2025-08-26T15:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: databricks terraform provider, databricks_credential resource,  service</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129843#M3967</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/181060"&gt;@sunykim&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good day!&lt;BR /&gt;Sad to see you going through issue But&lt;/P&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;Please ensure AWS credentials are set in your environment before running terraform apply. Has IAM role details (e.g., via iam:GetRole) got sufficient credentials permissions to read the role?.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;You can set them as environment variables:&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;The below must resolve your issue (&amp;nbsp;&lt;STRONG&gt;I am open to other solutions from contributors as well. )&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;PRE&gt;export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
# If using temporary credentials (e.g., from STS):
export AWS_SESSION_TOKEN="your-session-token"&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 26 Aug 2025 17:17:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129843#M3967</guid>
      <dc:creator>Khaja_Zaffer</dc:creator>
      <dc:date>2025-08-26T17:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: databricks terraform provider, databricks_credential resource,  service</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129844#M3968</link>
      <description>&lt;P&gt;Hi and thanks for the reaction. The pipeline (github actions) is gets some AWS powers that are unknown to me (more than my personal user) and created the role.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 17:22:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129844#M3968</guid>
      <dc:creator>sunykim</dc:creator>
      <dc:date>2025-08-26T17:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: databricks terraform provider, databricks_credential resource,  service</title>
      <link>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129884#M3971</link>
      <description>&lt;P&gt;I have the same error message now when trying to create a USE_SCHEMA grant for a service principal as in &lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/grant#schema-grants" target="_blank"&gt;https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/grant#schema-grants&lt;/A&gt; . I create a new service principal and then assign the grant. The creation works, the assignement doesn't. So the databricks credentials do work. Also, there is no AWS IAM role involved. I again tried both with account level and workspace level provider.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 10:29:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/databricks-terraform-provider-databricks-credential-resource/m-p/129884#M3971</guid>
      <dc:creator>sunykim</dc:creator>
      <dc:date>2025-08-27T10:29:00Z</dc:date>
    </item>
  </channel>
</rss>

