Skip to content

Commit 505a451

Browse files
authored
update cluster policy doc (#3707)
1 parent c976219 commit 505a451

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/resources/cluster_policy.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ resource "databricks_cluster_policy" "fair_use" {
6161
// repo can also be specified here
6262
}
6363
}
64+
libraries {
65+
maven {
66+
coordinates = "com.oracle.database.jdbc:ojdbc8:XXXX"
67+
}
68+
}
6469
}
6570
6671
resource "databricks_permissions" "can_use_cluster_policyinstance_profile" {
@@ -142,7 +147,10 @@ The following arguments are supported:
142147
* `max_clusters_per_user` - (Optional, integer) Maximum number of clusters allowed per user. When omitted, there is no limit. If specified, value must be greater than zero.
143148
* `policy_family_definition_overrides`(Optional) Policy definition JSON document expressed in Databricks Policy Definition Language. The JSON document must be passed as a string and cannot be embedded in the requests. You can use this to customize the policy definition inherited from the policy family. Policy rules specified here are merged into the inherited policy definition.
144149
* `policy_family_id` (Optional) ID of the policy family. The cluster policy's policy definition inherits the policy family's policy definition. Cannot be used with `definition`. Use `policy_family_definition_overrides` instead to customize the policy definition.
145-
* `libraries` (Optional) blocks defining individual libraries that will be installed on the cluster that uses a given cluster policy. See [databricks_cluster](cluster.md#library-configuration-block) for more details about supported library types.
150+
151+
### libraries Configuration Block (Optional)
152+
153+
One must specify each library in a separate configuration block, that will be installed on the cluster that uses a given cluster policy. See [databricks_cluster](cluster.md#library-configuration-block) for more details about supported library types.
146154

147155
## Attribute Reference
148156

0 commit comments

Comments
 (0)