Open Marco-Santoni opened 4 years ago
I run the following tasks:
$(HOST)
$(TOKEN)
databricks clusters list
The bash script gives the following error:
Error: InvalidConfigurationError: You haven't configured the CLI yet!
If I replace Configure Databricks CLI with the following bash:
Configure Databricks CLI
databricks configure --token <<EOF $(HOST) $(TOKEN) EOF
Only in this case, the Databricks CLI is working as expected. Why isn't the Databricks CLI finding the configuration when using the Configure Databricks CLI Task?
Make sure to add the profile when you'll uses the databricks cli For example: databricks fs ls --profile AZDO
databricks fs ls --profile AZDO
This has been resolved, thanks @lcarcamo1526 !
I run the following tasks:
$(HOST)
$(TOKEN)
databricks clusters list
The bash script gives the following error:
If I replace
Configure Databricks CLI
with the following bash:databricks clusters list
Only in this case, the Databricks CLI is working as expected. Why isn't the Databricks CLI finding the configuration when using the Configure Databricks CLI Task?