cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Terraform - Install egg file from S3

Murthy1
Contributor II

I am looking to install Python Egg files on all my clusters. The egg file is located in a S3 location. I tried using the following code which didn't work

 

 

 

resource "databricks_dbfs_file" "app" {
  source = "${S3_Path}/foo.egg"
  path   = "/FileStore/foo.egg"
}

resource "databricks_library" "app" {
  cluster_id = databricks_cluster.this.id
  egg        = databricks_dbfs_file.app.dbfs_path
}

 

 

 

 Can someone help me with this?

Thanks in advance!

2 REPLIES 2

Hello @Retired_mod ,

Thanks for the very quick response. I indeed understand that it is going to be deprecated but for now have to use the EGG files from S3 🙂

Thanks for the blogs! It would be nice if you have some links that allows us to do this through Terraform.

The error I get is 

Error: File s3://bucket/folder/package.egg does not exist 

Anonymous
Not applicable

Hi @Murthy1 

Does @Retired_mod  response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly?

We'd love to hear from you.

Thanks!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group