cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Differently named storage accounts in different environments

irfanijaz
New Contributor

Hi,

I have a solution design question on which I am looking for some help. We have 2 environments in azure (dev and prod), each env has its own ADLS storage account with a different name of course.

Within Databricks code we are NOT leveraging the mount point rather opted for the table ACL clusters with a service principal attached and all tables are created as unmanaged tables with data stored in ADLS. Problem is that when referencing/creating these tables we have to specify the full file path `abfss://<container_name>@<storage_account_name>...`. Previously with a mount point we would just use `/mnt/<mount-point-name>/...`

Since the storage account name is different between dev and prod we can't promote the code as is and ideally we don't wan't to parametrize the storage account every where it has to be referenced. Is there a better/smarter way to handle this problem?

Looking forward to hear from the community

Thanks!

0 REPLIES 0
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.