cannot create external location: invalid Databricks Workspace configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 01:15 AM
HI All
I am trying to create databricks storage credentials , external location and catalog with terraform.
cloud : Azure
My storage credentials code is working correctly . But the external location code is throwing below error when executing the Terraform apply .
│ Error: cannot create external location: invalid Databricks Workspace configuration
│
│ with module.dbs_external_location.databricks_external_location.int_exl["prod"],
│ on ..\modules\dbs_external_location\exl_main.tf line 1, in resource "databricks_external_location" "int_exl":
│ 1: resource "databricks_external_location" "int_exl" {
can anyone please help me on this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2024 09:08 PM
HI @Retired_mod
Thanks for the reply . Even after correcting my databricks workspace provider configuration . I am not able to create 3 external location in databricks workspace.
i am using below code in terraform .
Provider .tf
module.dbs_external_location.databricks_external_location.exl_dbs["prod"]: Creating...
module.dbs_external_location.databricks_external_location.exl_dbs["uat"]: Creating...
╷
│ Error: cannot create external location: invalid Databricks Workspace configuration
│
│ with module.dbs_external_location.databricks_external_location.exl_dbs["prod"],
│ on ..\modules\dbs_external_location\exl_main.tf line 1, in resource "databricks_external_location" "exl_dbs":
│ 1: resource "databricks_external_location" "exl_dbs" {
│
╵
╷
│ Error: cannot create external location: invalid Databricks Workspace configuration
│
│ with module.dbs_external_location.databricks_external_location.exl_dbs["dev"],
│ on ..\modules\dbs_external_location\exl_main.tf line 1, in resource "databricks_external_location" "exl_dbs":
│ 1: resource "databricks_external_location" "exl_dbs" {
│
╵
╷
│ Error: cannot create external location: invalid Databricks Workspace configuration
│
│ with module.dbs_external_location.databricks_external_location.exl_dbs["uat"],
│ on ..\modules\dbs_external_location\exl_main.tf line 1, in resource "databricks_external_location" "exl_dbs":
│ 1: resource "databricks_external_location" "exl_dbs" {
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @manoj_2355ca , I am also facing the same error, did you get the solution for it?

