<?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: unable to add new instance profile in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22862#M15742</link>
    <description>&lt;P&gt;Thank you @Vivian Wilfred​&amp;nbsp;&lt;/P&gt;&lt;P&gt;all ok now, with the databricks console and the TF&lt;/P&gt;&lt;P&gt;Have a graet day!&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 14:39:24 GMT</pubDate>
    <dc:creator>164079</dc:creator>
    <dc:date>2022-11-10T14:39:24Z</dc:date>
    <item>
      <title>unable to add new instance profile</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22859#M15739</link>
      <description>&lt;P&gt;Hi team, &lt;/P&gt;&lt;P&gt;I want to start adding more instance profile per team . when adding it via TF , im getting the below error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1213i67AB10297B4C9520/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Im able BTW to add and change other databricks resources via TF .&lt;/P&gt;&lt;P&gt;This is my new code block:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1241i10BD5A012465F84F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;The new role created by the TF but wasnt added to databricks, so i decided add it manually via my workspace console and im receiving the below error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1219i405DCB5765BD70CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;So i assume there is a general issue adding new instance profile to my workspace and its not related to a TF issue.&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 09:56:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22859#M15739</guid>
      <dc:creator>164079</dc:creator>
      <dc:date>2022-11-10T09:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add new instance profile</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22860#M15740</link>
      <description>&lt;P&gt;Hi @Avi Edri​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The error you see on terraform and the workspace console does not seem to be related. &lt;/P&gt;&lt;P&gt;For the console error:&lt;/P&gt;&lt;P&gt;Have you added iam:passRole permissions to the instance profile on your E2 policy? Check this doc-&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html#step-4-add-the-s3-iam-role-to-the-ec2-policy" target="test_blank"&gt;https://docs.databricks.com/administration-guide/cloud-configurations/aws/instance-profiles.html#step-4-add-the-s3-iam-role-to-the-ec2-policy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the terraform error:&lt;/P&gt;&lt;P&gt;Have you configured the databricks URL in the "host" parament while declaring the databricks provider? The databricks_instance_profile tf resource is looking for a workspace URL where it should create the instance profile. Authenticate the provider with the host and a PAT token and retry -&lt;/P&gt;&lt;P&gt;&lt;A href="https://registry.terraform.io/providers/databricks/databricks/latest/docs#authenticating-with-hostname-and-token" target="test_blank"&gt;https://registry.terraform.io/providers/databricks/databricks/latest/docs#authenticating-with-hostname-and-token&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 11:28:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22860#M15740</guid>
      <dc:creator>Vivian_Wilfred</dc:creator>
      <dc:date>2022-11-10T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add new instance profile</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22861#M15741</link>
      <description>&lt;P&gt;Thank you @Vivian Wilfred​&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are so correct, &lt;/P&gt;&lt;P&gt;So regarding the console adding error, i added this iampass with my new role and i am able to add new instance profile via workspace console.&lt;/P&gt;&lt;P&gt;Regarding the TF ,I added the workspace provider and it is also works now. this is great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one last question, I couldnt find the main iam policy  attached to the cross account role on the databricks TF module ( same policy i added the iam pass with my new role. so i had to add those config manually. can you maybe tell me if i can control this policy via the TF?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1221i71526DFD377FFD08/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;And its called by the TF as: aws_iam_role_policy.this&lt;/P&gt;&lt;P&gt;but couldnt find it&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 11:57:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22861#M15741</guid>
      <dc:creator>164079</dc:creator>
      <dc:date>2022-11-10T11:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: unable to add new instance profile</title>
      <link>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22862#M15742</link>
      <description>&lt;P&gt;Thank you @Vivian Wilfred​&amp;nbsp;&lt;/P&gt;&lt;P&gt;all ok now, with the databricks console and the TF&lt;/P&gt;&lt;P&gt;Have a graet day!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 14:39:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/unable-to-add-new-instance-profile/m-p/22862#M15742</guid>
      <dc:creator>164079</dc:creator>
      <dc:date>2022-11-10T14:39:24Z</dc:date>
    </item>
  </channel>
</rss>

