cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Use databricks-sync import to migrate to new workspace

118004
New Contributor II

Hello,

We are using the databricks-sync tool in an attempt to migrate from a legacy workspace into a new E2 account workspace. The tool exports json files successfully, but when I try to import, I receive various Terraform errors referencing undeclared variables. Examples of which follow:

Error: Reference to undeclared input variable

2022-08-15 20:21:39 [INFO] │  on databricks_job_1035550685458986.tf.json line 59, in resource.databricks_job.databricks_job_1035550685458986.new_cluster:

2022-08-15 20:21:39 [INFO] │  59:           "node_type_id": "${var.i3_xlarge}",

2022-08-15 20:21:39 [INFO] │ 

2022-08-15 20:21:39 [INFO] │ An input variable with the name "i3_xlarge" has not been declared. This

2022-08-15 20:21:39 [INFO] │ variable can be declared with a variable "i3_xlarge" {} block.

I am very familiar with Terraform and a little confused about this import tool. Is there a way to see the generated Terraform files?

0 REPLIES 0
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.