databricks / terraform-provider-databricks

Databricks Terraform Provider
https://registry.terraform.io/providers/databricks/databricks/latest
Other
444 stars 380 forks source link

[FEATURE] Delta Sharing Shares and Delta Sharing Recipients owner assignment with Terraform #2587

Open owlleg6 opened 1 year ago

owlleg6 commented 1 year ago

Hello guys, i would like to request a feature, that provides an ability to assign owners to Delta Sharing Shares and Recipients.

Use-cases

Attempted Solutions

Proposal

References

nfx commented 1 year ago

Why owner field is not enough?

owlleg6 commented 1 year ago

@nfx hey, if you meant 'owner' parameter, it is not present in docs of Share and Recipient terraform resources. In my case, i would like to assign Account Group as Owner on Share, so anybody from that group could later manage tables/notebooks in assigned Share.

mgyucht commented 1 year ago

@owlleg6 thanks for reporting this! I believe this field needs to be added to ShareInfo and RecipientInfo in resource_share.go and resource_recipient.go, respectively. Would you like to contribute this change? If not, @alexott / @nkvuong / @mberk06 could one of you help out with this?