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: 

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

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