Skip to content

CLI needs internet access to download additional components #2709

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

Open
jdavidheiser opened this issue Apr 10, 2025 · 1 comment
Open

CLI needs internet access to download additional components #2709

jdavidheiser opened this issue Apr 10, 2025 · 1 comment
Labels
CLI CLI related issues

Comments

@jdavidheiser
Copy link

Describe the issue

When using the CLI to interact with Databricks Asset Bundles, it needs to fetch and install some Terraform libraries. This causes problems when installing the CLI in a Docker image and then using that CLI in an airgapped environment.

This is a re-raising of the issue brought up in #1238 (comment) since it's been a while since that was posted and I still have no idea when a solution will be available.

Steps to reproduce the behavior

  • Install CLI
  • block access to hasicorp.com
  • try to run databricks bundle ...

Expected Behavior

I would expect to be able to install all transitive dependencies when running the installer, and not have them dynamically installed later.

Actual Behavior

I have to manually install and configure terraform, or use a standalone Docker image, which does not really fit with my workflow here.

OS and CLI version

NA

Is this a regression?

No

Debug Logs

NA

@jdavidheiser jdavidheiser added the CLI CLI related issues label Apr 10, 2025
@denik
Copy link
Contributor

denik commented Apr 11, 2025

Long term we're planning to stop depending on downloaded terraform binary.

Short term, you can set up docker image by pre-downloading the needed binaries and setting up some environment variables. We do that in our own tests. See https://github.com/databricks/cli/blob/main/acceptance/install_terraform.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI CLI related issues
Projects
None yet
Development

No branches or pull requests

2 participants