Skip to content

Import fails due to missing variables #116

@tristansirrico

Description

@tristansirrico

Hi all. This tool fails to import due to missing Terraform variables. An example of which is below, but it is not always just this type of variable:

Error: Reference to undeclared input variable

on databricks_cluster_0729_150142_zrxr8z13.tf.json line 41, in resource.databricks_cluster.databricks_cluster_0729_150142_zrxr8z13:
41:                 "node_type_id": "${var.m5_large}",

An input variable with the name "m5_large" has not been declared. This variable can be declared with a variable "m5_large" {} block.

This is a clean E2 workspace with nothing in it. I am attempting to import an export generated from a legacy workspace in another account.

On another note, is there an option to generate .tf files based on the export files? Or see the temporary files used to generate the plan?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions