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

Add custom tags to DLT cluster

BradSheridan
Valued Contributor

We have a policy in our AWS account that whenever an EC2 instance is created, there are 5 mandatory tags that need to be added. When we create an All-Purpose cluster in the Databricks console, we can easily add these under Advance Options > Tags. However, this isn't available when creating a DLT job under Workflows > Delta Live Tables. Now the EC2 instances that are supposed to spin up for the DLT job never get created b/c they don't have tags. When we go to Compute and Terminate the cluster creation to edit it and add tags, we get a message "Error: dlt prefixed spark images cannot be used outside of the Delta Live Tables service". Any help is greatly appreciated! Brad

1 ACCEPTED SOLUTION

Accepted Solutions

tomasz
New Contributor III
New Contributor III

Great!

When it comes to your question, autoloader and DLT can be used together so they are not mutually exclusive, with autoloader being the mechanism to load data into your DLT pipeline. It is common for both of them to be used when implementing a CDC pipeline.

View solution in original post

4 REPLIES 4

tomasz
New Contributor III
New Contributor III

You can add "custom_tags" in the DLT configuration under "clusters" (in JSON view):

Screen Shot 2022-07-11 at 9.44.20 AM 

The full range of attributes allowed in this section are listed here.

BradSheridan
Valued Contributor

@Tomasz Bacewicz​ Perfect!! worked like a charm...thank you!!

do you think auto loader or DLT is a better approach to implementing a CDC pipeline in Databricks?

tomasz
New Contributor III
New Contributor III

Great!

When it comes to your question, autoloader and DLT can be used together so they are not mutually exclusive, with autoloader being the mechanism to load data into your DLT pipeline. It is common for both of them to be used when implementing a CDC pipeline.

BradSheridan
Valued Contributor

Thanks again!

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.