diff --git a/docs/resources/mws_customer_managed_keys.md b/docs/resources/mws_customer_managed_keys.md index cc48954402..349e32d260 100644 --- a/docs/resources/mws_customer_managed_keys.md +++ b/docs/resources/mws_customer_managed_keys.md @@ -253,7 +253,15 @@ In addition to all arguments above, the following attributes are exported: ## Import -!> Importing this resource is not currently supported. +This resource can be imported by Databricks account ID and customer managed key ID. + +```sh +terraform import databricks_mws_customer_managed_keys.this '/' +``` + +~> This resource does not support updates. If your configuration does not match the existing resource, + the next `terraform apply` will cause the resource to be destroyed and recreated. After importing, + verify that the configuration matches the existing resource by running `terraform plan`. ## Related Resources diff --git a/docs/resources/mws_networks.md b/docs/resources/mws_networks.md index 1c7f41ee01..98913c4f82 100644 --- a/docs/resources/mws_networks.md +++ b/docs/resources/mws_networks.md @@ -215,7 +215,15 @@ In addition to all arguments above, the following attributes are exported: ## Import -!> Importing this resource is not currently supported. +This resource can be imported by Databricks account ID and network ID. + +```sh +terraform import databricks_mws_networks.this '/' +``` + +~> This resource does not support updates. If your configuration does not match the existing resource, + the next `terraform apply` will cause the resource to be destroyed and recreated. After importing, + verify that the configuration matches the existing resource by running `terraform plan`. ## Related Resources diff --git a/docs/resources/mws_private_access_settings.md b/docs/resources/mws_private_access_settings.md index 24de15f5e7..b24c621786 100644 --- a/docs/resources/mws_private_access_settings.md +++ b/docs/resources/mws_private_access_settings.md @@ -85,7 +85,11 @@ In addition to all arguments above, the following attributes are exported: ## Import -!> Importing this resource is not currently supported. +This resource can be imported by Databricks account ID and private access settings ID. + +```sh +terraform import databricks_mws_private_access_settings.this '/' +``` ## Related Resources diff --git a/docs/resources/mws_storage_configurations.md b/docs/resources/mws_storage_configurations.md index 779c5f3d67..4a46bb62c9 100644 --- a/docs/resources/mws_storage_configurations.md +++ b/docs/resources/mws_storage_configurations.md @@ -55,7 +55,15 @@ In addition to all arguments above, the following attributes are exported: ## Import -!> Importing this resource is not currently supported. +This resource can be imported by Databricks account ID and storage configuration ID. + +```sh +terraform import databricks_mws_storage_configurations.this '/' +``` + +~> This resource does not support updates. If your configuration does not match the existing resource, + the next `terraform apply` will cause the resource to be destroyed and recreated. After importing, + verify that the configuration matches the existing resource by running `terraform plan`. ## Related Resources diff --git a/docs/resources/mws_workspaces.md b/docs/resources/mws_workspaces.md index 4d5e45d3bd..a252302da1 100644 --- a/docs/resources/mws_workspaces.md +++ b/docs/resources/mws_workspaces.md @@ -392,7 +392,18 @@ You can reset local DNS caches before provisioning new workspaces with one of th ## Import -!> Importing this resource is not currently supported. +This resource can be imported by Databricks account ID and workspace ID. + +```sh +terraform import databricks_mws_networks.this '/' +``` + +~> Not all fields of `databricks_mws_workspaces` can be updated without causing the workspace to be recreated. + If the configuration for these immutable fields does not match the existing workspace, the workspace will + be deleted and recreated in the next `terraform apply`. After importing, verify that the configuration + matches the existing resource by running `terraform plan`. The only fields that can be updated are + `credentials_id`, `network_id`, `storage_customer_managed_key_id`, `private_access_settings_id`, + `managed_services_customer_managed_key_id`, and `custom_tags`. ## Related Resources