Skip to content

CLI configuration mismatchΒ #683

@hb0313

Description

@hb0313

Issue: When using bundle commands I see error
panic: cannot resolve bundle auth configuration: config host mismatch: profile uses host https://qa-123.databricks.net, but CLI configured to use https://dev-123.databricks.net

Config: The .databrickscfg file is as below

; The profile defined in the DEFAULT section is to be used as a fallback when no profile is explicitly specified.
[DEFAULT]

[qa]
host = https://qa-123.databricks.net
token = *****************

[dev]
host = https://dev-123.databricks.net
token = *****************

Steps to reproduce:

  1. Install and configure cli as above
  2. Create bundle using --profile dev
  3. Validate bundle using --profile qa

Expected behavior: The cli should override the profile passed by --profile flag

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions