Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

### Documentation

* Document support for serverless workspaces on GCP ([#5124](https://github.com/databricks/terraform-provider-databricks/pull/5124))

### Exporter

### Internal Changes
Expand Down
15 changes: 13 additions & 2 deletions docs/resources/mws_workspaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ This resource allows you to set up [workspaces on AWS](https://docs.databricks.c

## Example Usage

### Creating a serverless workspace in AWS
### Creating a serverless workspace in AWS and GCP

Creating a serverless workspace does not require any prerequisite resources. Simply specify `compute_mode = "SERVERLESS"` when creating the workspace. Serverless workspaces must not include `credentials_id` or `storage_configuration_id`.

To use serverless workspaces, you must enroll in the [Default Storage preview](https://docs.databricks.com/aws/en/storage/express-storage).
On [AWS](https://docs.databricks.com/aws/en/admin/workspace/serverless-workspaces):

```hcl
resource "databricks_mws_workspaces" "serverless_workspace" {
Expand All @@ -28,6 +28,17 @@ resource "databricks_mws_workspaces" "serverless_workspace" {
}
```

On [GCP](https://docs.databricks.com/gcp/en/admin/workspace/serverless-workspaces):

```hcl
resource "databricks_mws_workspaces" "serverless_workspace" {
account_id = "" # Your Databricks account ID
workspace_name = "serverless-workspace"
location = "us-east4"
compute_mode = "SERVERLESS"
}
```

### Creating a workspace on AWS

![Simplest multiworkspace](https://raw.githubusercontent.com/databricks/terraform-provider-databricks/main/docs/simplest-multiworkspace.png)
Expand Down
Loading