Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Exporter] Add support for renaming of some resources #4342

Open
alexott opened this issue Dec 22, 2024 · 0 comments
Open

[Exporter] Add support for renaming of some resources #4342

alexott opened this issue Dec 22, 2024 · 0 comments
Labels
exporter TF configuration generator

Comments

@alexott
Copy link
Contributor

alexott commented Dec 22, 2024

Right now, for some tasks, such as DR, we need to continuously export objects from one workspace into another. Some objects, such as jobs, clusters, notebooks, etc., could be renamed without changing their ID (job ID, cluster ID, workspace object ID, etc.), but right now, the resource name is often generated from the object name, leading to the creation of a new object and the destruction of the previous version, which can cause the loss of previous data (job run history, ...).

It would be useful to track a mapping of ID -> resource_name and when doing the next export, check if the resource name has changed without changing the ID, and generate moved blocks for such renames.

@alexott alexott added the exporter TF configuration generator label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter TF configuration generator
Projects
None yet
Development

No branches or pull requests

1 participant