szymon_dybczak
Esteemed Contributor III

Hi @halsgbs ,

The best practices here it to use resource reference. So if you have definition in your warehouse:

 

resources:
  sql_warehouses:
    small_warehouse:

 

Then you reference it using the bundle resource key (small_warehouse), not the display name:

 

warehouse_id: ${resources.sql_warehouses.small_warehouse.id}

 

 

Here you can find article with above approach described in more details:

DABs: Referencing Your Resources | by Hubert Dudek - Freedium