Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow DABs to dynamically pass in host target #2095

Open
Gijsreyn opened this issue Jan 8, 2025 · 0 comments
Open

Allow DABs to dynamically pass in host target #2095

Gijsreyn opened this issue Jan 8, 2025 · 0 comments
Labels
DABs DABs related issues Enhancement New feature or request

Comments

@Gijsreyn
Copy link

Gijsreyn commented Jan 8, 2025

Describe the issue

As a user, I want to be able to pass in the host dynamically on the specific target. This allows me to combine both IaC (Bicep) output when deploying Azure Databricks with DABs in one DevOps pipeline.

Configuration

bundle:
  name: test
include:
  - resources/*.yml

variables:
  hostName:
    description: The hostname of the Databricks workspace
    type: string


targets:
  dev:
    mode: development
    default: true
    workspace:
      host: ${var.hostName}

Steps to reproduce the behavior

  1. Run databricks configure
  2. Run databricks bundle validate -t 'dev' --var=hostName=<outputFromAzureDeployment>

The hostname cannot be replaced.

OS and CLI version

Databricks CLI v0.233.0

Is this a regression?

No.

@Gijsreyn Gijsreyn added the DABs DABs related issues label Jan 8, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 13, 2025
@andrewnester andrewnester added the Enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DABs DABs related issues Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants