Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2025 01:42 AM - edited 09-29-2025 01:44 AM
Hi Saurabh,
First approach there did not work for me. i see an error on the Databricks App logs:
[ERROR] Error resolving resource db_connection specified in app.yml. Please make sure to configured a resource with name db_connection
How to configure a variable on resources file? My current resources file is:
resources:
apps:
query-data:
name: query-data
description: 'To get sales data from the delta table'
source_code_path: ../app
resources:
- name: "sql-warehouse"
sql_warehouse:
id: ${var.sql_warehouse_id}
permission: "CAN_MANAGE"
permissions:
- level: CAN_MANAGE
group_name: ${var.access_group}
Second approach always works since it is hardcoding the value for that variable. And this is not a suitable approach, i want to make it dynamic with values from different target variables of the bundle.
Thanks,
Naga