cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

CloudFormation failure while creating workspace

prashantp
New Contributor III

The cloud formation script is fails to create workspace due to following error. The solution to this error is not available in the standard troubleshooting guide. Following is the error message from cloud watch logs. It seems like a bug in the api, but I might be wrong. Could you please share some insights? Thanks.

FieldValue@ingestionTime1673260793244

@log991775080983:/aws/lambda/databrix-workspace-stack-databricksApiFunction-JypAbb50RqeG

@logStream2023/01/09/[$LATEST]9d29060215124266b0e0565b9d606774

@message

[ERROR] 2023-01-09T10:39:45.027Z 29d22df2-5f7d-4ad8-9937-02fdeb4b7382 Exception: local variable 'workspace_status_message' referenced before assignment

Traceback (most recent call last):

File "/var/task/rest_client.py", line 95, in handler

post_result = launch_workspace(

File "/var/task/rest_client.py", line 299, in launch_workspace

raise Exception(workspace_status_message)

UnboundLocalError: local variable 'workspace_status_message' referenced before assignment

1 ACCEPTED SOLUTION

Accepted Solutions

prashantp
New Contributor III
2 REPLIES 2

prashantp
New Contributor III

Hi @Prashant Patel​ (Customer)​, I appreciate your attempt to choose the best answer for us. I'm glad you got your query resolved. Thank you for giving an excellent answer 😀.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group