Databricks Asset Bundles Firewall Issue

CashyMcSmashy
Databricks Partner

Hello

I'm trying to use Databricks Asset Bundles within a network that has limited access to the internet.  When I try to deploy I get the error message "error downloading Terraform: Get "https://releases.hashicorp.com/terraform/1.5.5/index.json".  Is there a list of urls that DABs need so I can request a change to the firewall rules or is it just Terraform?

Thanks

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @Alberto_Umana , thank you for your reply

The firewall rules where updated to include the two URLs you mentioned but now another error appears...

 

Error: terraform init: exit status 1

Error: Failed to install provider

Error while installing databricks/databricks v1.68.0: could not query
provider registry for registry.terraform.io/databricks/databricks: failed to
retrieve authentication checksums for provider: the request failed after 2
attempts, please try again later: Get
"https://github.com/databricks/terraform-provider-databricks/releases/download/v1.68.0/terraform-provider-databricks_1.68.0_SHA256SUMS":

I will request https://github.com/databricks/terraform-provider-databricks/releases to be added too. I'm just wondering if you know of any more? Or can I upload this file manually?

 

 

CashyMcSmashy
Databricks Partner

Hello

After testing the following urls need to be whitelisted on the firewall...

 

  - [Terraform Registry](https://registry.terraform.io)
  - [Terrafrom Checkpoint API](https://checkpoint-api.hashicorp.com)
  - [Terraform Releases](https://releases.hashicorp.com)
  - [Databricks Terraform Provider Github](https://github.com/databricks/terraform-provider-databricks)
  - [Github User Content](https://objects.githubusercontent.com)