microsoft / azdo-databricks

A set of Build and Release tasks for Building, Deploying and Testing Databricks notebooks
MIT License
25 stars 32 forks source link

InvalidConfigurationError after Configure CLI #24

Open Marco-Santoni opened 4 years ago

Marco-Santoni commented 4 years ago

I run the following tasks:

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:

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?

lcarcamo1526 commented 3 years ago

Make sure to add the profile when you'll uses the databricks cli For example: databricks fs ls --profile AZDO

luigibrancati commented 2 years ago

This has been resolved, thanks @lcarcamo1526 !