ucx
ucx copied to clipboard
[FEATURE]: Enable CLI commands to run on a collection of workspaces
Is there an existing issue for this?
- [X] I have searched the existing issues
Problem statement
Currently, ucx cli commands are run per workspace. With the introduction of collection concepts, the cli command should support the option to run commands on a collection of workspaces. This would help customers with large number of workspaces to run multiple cli cmds (like assessment , table mapping etc) for a collection of workspaces and reduce effort
Proposed Solution
- Add a flag to mention the collection run
- create workspace context for each workspace in the collection
- run the cli cmd for each workspace context
- report status
- validate if running user has permission on all workspaces in the collection
Additional Context
No response