Skip to content

Commit adf93c4

Browse files
Provider doc update for WS management (#1095)
* Provider doc update for WS management Provider configuration section mentions module.ai to access the host & token. But there isn't such module. So fixing the doc to use the generate token during E2 workspace creation * enforcing multi-module practice * renaming module & removing unnecessary alias
1 parent 04edb57 commit adf93c4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/guides/aws-workspace.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,12 @@ In [the next step](workspace-management.md), please use the following configurat
288288

289289
```hcl
290290
provider "databricks" {
291-
host = module.ai.databricks_host
292-
token = module.ai.databricks_token
291+
host = module.e2.workspace_url
292+
token = module.e2.token_value
293293
}
294294
```
295+
We assume that you have a terraform module in your project that creats a workspace (using [Databricks E2 Workspace](#databricks-e2-workspace) section) and you named it as `e2` while calling it in the **main.tf** file of your terraform project. And `workspace_url` and `token_value` are the output attributes of that module. This provider configuration will allow you to use the generated token during workspace creation to authenticate to the created workspace.
296+
295297

296298
### Credentials validation checks errors
297299

0 commit comments

Comments
 (0)