mirror of https://github.com/databricks/cli.git
deb7e67ad5
## Changes There's a lot of end-user friction for projects that require account-level commands. This is mainly related to the fact that, as of January 2024, workspace administrators do not necessarily have access to call account-level APIs. Ongoing discussions exist on how to implement this on a platform level best. A temporary workaround is creating a dummy ~/.databrickscfg profile with the `account_id` field, though it doesn't remove the end-user friction. Hence, we don't require an account profile during installation (anymore) and just prompt it when the context requires it. This also means that we always prompt for account-level commands unless users specify a `--profile` flag. ## Tests - `go run main.go labs install ucx`, don't see an account profile prompt - `go run main.go labs ucx sync-workspace-info`, to see a profile prompt and have a valid auth passed - `go run main.go labs ucx sync-workspace-info --debug --profile profile-name` to get a concrete profile passed |
||
---|---|---|
.. | ||
github | ||
localcache | ||
project | ||
unpack | ||
CODEOWNERS | ||
clear_cache.go | ||
install.go | ||
installed.go | ||
installed_test.go | ||
labs.go | ||
list.go | ||
list_test.go | ||
show.go | ||
uninstall.go | ||
upgrade.go |