-
Notifications
You must be signed in to change notification settings - Fork 437
[Feature] Enable the option to add comment
when defining a new databricks_share
#4802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Feature] Enable the option to add comment
when defining a new databricks_share
#4802
Conversation
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
if d.HasChange("comment") { | ||
_, err = client.Shares.Update(ctx, sharing.UpdateShare{ | ||
Name: afterSi.Name, | ||
Comment: afterSi.Comment, | ||
}) | ||
if err != nil { | ||
return err | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't we do this update together with Update call below or with update of owner
?
Changes
Added the option for the user to define a
comment
when creatingdatabricks_share
which will be displayed in Databricks UI for defined share.Additionally, made
share.md
documentation more consistent with Terraform style.Tests
make test
run locallydocs/
folderinternal/acceptance