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

Kaniz
Community Manager
Community Manager

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 😀.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!