cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
2 REPLIES 2

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