Skip to content
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

[ISSUE] databricks_library resource does not support workspace files #3471

Closed
tigerhawkvok opened this issue Apr 15, 2024 · 0 comments · Fixed by #3637
Closed

[ISSUE] databricks_library resource does not support workspace files #3471

tigerhawkvok opened this issue Apr 15, 2024 · 0 comments · Fixed by #3637

Comments

@tigerhawkvok
Copy link

tigerhawkvok commented Apr 15, 2024

See https://docs.databricks.com/en/libraries/workspace-files-libraries.html

The databricks_library provider should have a workspace block taking a path to the workspace file.

This is particularly relevant given DBR15's ability to support requirements.txt files

Sample syntax:

        library {
            # https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/job#library-configuration-block
            workspace {
                path = databricks_workspace_file.requirements.workspace_path
            }
        }

If no support is planned (or not planned for a while), the documentation should be updated to reflect this rather than the conspicuous absence.

(The same happens to be true for volume files, too, which could be repeated verbatim as above with a text replacement. https://docs.databricks.com/en/libraries/volume-libraries.html )

alexott added a commit that referenced this issue Jun 3, 2024
…ries

Support for `requirements` parameter came via SDK, but documentation was missing.

Fixes #3471
github-merge-queue bot pushed a commit that referenced this issue Jun 3, 2024
…ries (#3637)

Support for `requirements` parameter came via SDK, but documentation was missing.

Fixes #3471
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant