terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[DOC] databricks_share says NOTEBOOK_FILE is supported but there is lack of support/documentation for it
Affected Resource(s)
https://registry.terraform.io/providers/databricks/databricks/1.38.0/docs/resources/share#object-configuration-block
data_object_type (Required) - Type of the data object, currently TABLE, SCHEMA, VOLUME, NOTEBOOK_FILE are supported.
However, when using NOTEBOOK_FILE data object type, it results in Error: cannot update share: The content must be set when adding a NOTEBOOK_FILE.
There is no supporting documentation for how to set this "content" or how to properly share a notebook. Any fields outside of the standard table/schema/volume fields return a message saying Unexpected attribute: An attribute named "content" is not expected here
I am using version 1.38.0
Expected Details
An example of how to share a NOTEBOOK_FILE. If notebook file can't be added through terraform, then please remove it from documentation.