From 92565a6e7e40cd42817358a5e6535db21c1386fa Mon Sep 17 00:00:00 2001 From: Vuong Date: Tue, 25 Jun 2024 22:44:24 +0100 Subject: [PATCH] update cluster policy doc --- docs/resources/cluster_policy.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/resources/cluster_policy.md b/docs/resources/cluster_policy.md index 39b7b1dd31..186c04cd7f 100644 --- a/docs/resources/cluster_policy.md +++ b/docs/resources/cluster_policy.md @@ -61,6 +61,11 @@ resource "databricks_cluster_policy" "fair_use" { // repo can also be specified here } } + libraries { + maven { + coordinates = "com.oracle.database.jdbc:ojdbc8:XXXX" + } + } } resource "databricks_permissions" "can_use_cluster_policyinstance_profile" { @@ -142,7 +147,10 @@ The following arguments are supported: * `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. * `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. * `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. -* `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. + +### libraries Configuration Block (Optional) + +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. ## Attribute Reference