cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to add existing recipient to existing delta share

chethankumar
New Contributor III

I created a recipient in the Databricks console and also set up a Delta Share. Now, Iโ€™d like to link this existing recipient to the Delta Share. Is there a way to accomplish this using Terraform?

1 ACCEPTED SOLUTION

Accepted Solutions

Naรฏm
Databricks Employee
Databricks Employee

Hi Chethankumar,

Yes you can use the databricks_grants resource. To read more see the documentation of our terraform provider. 

Best regards,

Naรฏm 

View solution in original post

2 REPLIES 2

Naรฏm
Databricks Employee
Databricks Employee

Hi Chethankumar,

Yes you can use the databricks_grants resource. To read more see the documentation of our terraform provider. 

Best regards,

Naรฏm 

chethankumar
New Contributor III

Hi @Naรฏm 

Thanks for your response. It seems your answer is helping me, but I'm facing another issue. The owner of my recipient is a group, not an individual user. I'm running this Terraform script using a service principal that is a member of that group. However, I'm encountering the following issue when trying to create grants:
Error: cannot update grants: User is not an owner of Recipient 'abc'


resource "databricks_grants" "databricks_grants" {
share = "delta_sharing"
grant {
principal = "abc"
privileges = ["SELECT"]
}
}

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group