Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,11 @@ targets:
env_analysis_batch_id: ${var.serverless_usage_policies.prod_analysis_batch_id}
env_lh_live_id: ${var.serverless_usage_policies.prod_lh_live_id}
# Note: You can leave test IDs blank here or map them to a default
# since Prod doesn't have test policies.
# since Prod doesn't have test policies. However frustratingly despite excluding resource/test the bundle validation check it anyway
env_test_all_id: "NA"
env_test_dq_id: "NA"
env_test_int_id: "NA"
env_test_unit_id: "NA"
permissions:
- group_name: prod_env_users
level: CAN_VIEW
Expand Down
2 changes: 2 additions & 0 deletions docs/Cost Visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ qqqq maybe owner names and groups need to become the same. YES

Unfortunately currently dab is not setting permissions for sps to use the serverless policys so they have to be set through the UI

*Maybe we should have tags in Staging_Analysis_Batch for ingestion or medallion, but until we have some good queries and dashboards the most useful tags to have wont be clear*

| Policy Name | Env | CostCentre | Test / Owner |
|---|---|---|---|
|-------Numbered / General Policies-------| |||
Expand Down
4 changes: 3 additions & 1 deletion resources/jobs/utils/full_data_refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ resources:
- task_key: run_bronze_pipeline
pipeline_task:
pipeline_id: ${resources.pipelines.pipeline_ods_ingestion.id}

# not included serverless policy as this gets run by tests for the DQ tests, the best approach would be policy per task in the job calling this, and seperate the notebooks so each test task can be seperate [Not sure can do it task based](https://learn.microsoft.com/en-us/azure/databricks/admin/usage/budget-policies?source=recommendations#assign-permissions-on-a-policy)


# Exclude streaming if they are triggered whilst active an error occurs
# - task_key: run_silver_pipeline
# depends_on:
Expand Down
1 change: 1 addition & 0 deletions resources/pipeline/ingest/ods_ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ resources:
pipelines:
pipeline_ods_ingestion:
name: ods_ingestion
usage_policy_id: ${var.env_serverless_usage_policies.env_}
libraries:
- glob:
include: ../../../src/ingestion/ods_ingest.py
Expand Down
Loading