Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 05:56 AM
I would expect
resource "databricks_cluster_policy" "cluster_policy" {
name = var.policy_name
libraries {
Volumes {
whl = "/Volumes/bronze/config/python.wheel-1.0.3-9-py3-none-any.whl"
}
}
}
to work but terraform doesnt recognize "volumes". on the documentation im only finding PyPI and Maven. Is there another syntax for volumes?
Cannot find any mentions in https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/cluster_policy
The code for databricks_library that works is below, but i would like to install this using a databricks policy.
Might be relevant: https://github.com/databricks/terraform-provider-databricks/issues/3612
to work but terraform doesnt recognize "volumes". on the documentation im only finding PyPI and Maven. Is there another syntax for volumes?
Cannot find any mentions in https://registry.terraform.io/providers/databricks/databricks/latest/docs/resources/cluster_policy
The code for databricks_library that works is below, but i would like to install this using a databricks policy.
resource "databricks_library" "shared_python_wheel" {
cluster_id = var.cluster_id
whl = "/Volumes/bronze/config/python.wheel-1.0.3-9-py3-none-any.whl"
}
Might be relevant: https://github.com/databricks/terraform-provider-databricks/issues/3612
Labels:
- Labels:
-
databricks_cluster_policy
-
terraform
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2025 11:13 PM
This worked
resource "databricks_cluster_policy" "cluster_policy" {
resource "databricks_cluster_policy" "cluster_policy" {
name = var.policy_name
libraries {
whl = "/Volumes/bronze/config/python.wheel-1.0.3-9-py3-none-any.whl"
}
}