[FEATURE]: Generate Terraform scripts from assessment - mapping state
Is there an existing issue for this?
- [X] I have searched the existing issues
Problem statement
Some customers use Terraform to manage the access control to all of their Databricks assets. They consider these configuration files as the system-of-record for access control. As such, they do not want UCX to alter the access control of objects (tables, notebooks, etc.), but rather have UCX generate the Terraform scripts themselves, which they can then modify, version control, and run themselves.
Proposed Solution
This could be a new ucx command that generates the .tf scripts from the assessment + object mapping, but open to other suggestions.
Additional Context
No response
This would involve migrating tf code via AST and has to be written in GoLang, as only there we have libraries for HCL parsing and transformation.