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!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now