You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Customer Managed Keys & MWS workspace to match new API (#642)
Due the changes in the Accounts API we need to do following changes:
* Add required attribute `use_cases` to `databricks_mws_customer_managed_keys` resource
* The `customer_managed_key_id` field in `databricks_mws_workspaces` resource is
deprecated and should be replaced with `managed_services_customer_managed_key_id` (and
optionally `storage_customer_managed_key_id`). The `customer_managed_key_id` field is
left for compatibility, and automatically converted into
`managed_services_customer_managed_key_id`. It will be completely removed in the next
versions
This fixes#641
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,10 @@
5
5
* Fixed state refresh bugs in `databricks_sql_permissions` ([#620](https://github.com/databrickslabs/terraform-provider-databricks/issues/620), [#619](https://github.com/databrickslabs/terraform-provider-databricks/issues/620))
6
6
* Fixed `workspace_ids_filter` mapping for `databricks_mws_log_delivery` ([#635](https://github.com/databrickslabs/terraform-provider-databricks/issues/635))
7
7
8
+
**Behavior changes**
9
+
10
+
* The `customer_managed_key_id` field in `databricks_mws_workspaces` resource is deprecated and should be replaced with `managed_services_customer_managed_key_id` (and optionally `storage_customer_managed_key_id`). `databricks_mws_customer_managed_keys` now requires the parameter `use_cases` ([#642](https://github.com/databrickslabs/terraform-provider-databricks/pull/642))
11
+
8
12
## 0.3.3
9
13
10
14
* Added resources for SQL Analytics queries and dashboards: `databricks_sql_query`, `databricks_sql_visualization`, `databricks_sql_dashboard`, `databricks_sql_widget` ([#553](https://github.com/databrickslabs/terraform-provider-databricks/pull/553))
Copy file name to clipboardExpand all lines: docs/resources/mws_workspaces.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,9 @@ The following arguments are available:
179
179
*`network_id` - (Optional) `network_id` from [networks](mws_networks.md)
180
180
*`account_id` - Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
181
181
*`credentials_id` - `credentials_id` from [credentials](mws_credentials.md)
182
-
*`customer_managed_key_id` - (Optional) `customer_managed_key_id` from [customer managed keys](mws_customer_managed_keys.md)
182
+
*`customer_managed_key_id` - (Optional, **Deprecated**, see `managed_services_customer_managed_key_id` and `storage_customer_managed_key_id`) `customer_managed_key_id` from [customer managed keys](mws_customer_managed_keys.md)
183
+
*`managed_services_customer_managed_key_id` - (Optional) `customer_managed_key_id` from [customer managed keys](mws_customer_managed_keys.md) with `use_cases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
184
+
*`storage_customer_managed_key_id` - (Optional, **Deprecated**) `customer_managed_key_id` from [customer managed keys](mws_customer_managed_keys.md) with `use_cases` set to `STORAGE`. This is used to encrypt the DBFS Storage & Cluster EBS Volumes.
183
185
*`deployment_name` - part of URL: `https://<deployment-name>.cloud.databricks.com`
184
186
*`workspace_name` - name of the workspace, will appear on UI
185
187
*`aws_region` - AWS region of VPC
@@ -214,4 +216,4 @@ You can reset local DNS caches before provisioning new workspaces with one of th
214
216
* Mac OS Sierra, X El Capitan, X Mavericks, X Mountain Lion, or X Lion - `sudo killall -HUP mDNSResponder`
215
217
* Mac OS X Yosemite - `sudo discoveryutil udnsflushcaches`
216
218
* Mac OS X Snow Leopard - `sudo dscacheutil -flushcache`
217
-
* Mac OS X Leopard and below - `sudo lookupd -flushcache`
219
+
* Mac OS X Leopard and below - `sudo lookupd -flushcache`
0 commit comments