Closed botchniaque closed 1 day ago
It's not a provider issue but is more on the TF/Tofu side.
Don't use it; instead, use the Terraform exporter functionality. It will correctly handle dependencies on other objects, and you can do selective exports, etc.
I am trying to use the experimental feature of generating HCL for imported resources as described here https://opentofu.org/docs/language/import/generating-configuration/
I am getting errors.
Configuration
Expected Behavior
tofu plan -generate-config-out=generated.tf
works without errorsgenerated.tf
file with my job's HCLActual Behavior
tofu plan -generate-config-out=generated.tf
shows errorsgenerated.tf
file with my job's HCL does not specifytasks
Steps to Reproduce
import
block for an existing databricks job (see "Configuration" section)tofu plan -generate-config-out=generated.tf
Terraform and provider versions
Is it a regression?
Debug Output
Important Factoids
Would you like to implement a fix?