Terraform - Install egg file from S3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 03:11 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 03:50 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 02:12 AM
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!