File tree Expand file tree Collapse file tree
preset_tags_not_applied_to_whole_map_reference
whole_map_reference_hides_entries
validate/nulls/target_adds_null_keeps_it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ resources:
1414 jobs :
1515 j :
1616 name : j
17- # The whole tags map is a reference, so the preset tag above is not added to it.
17+ # tags is a reference to a whole map, and the preset tag above is not added to it.
1818 tags : ${resources.schemas.s.properties}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ # The preset tag is not applied to a job whose tags is a reference to a whole map: the job gets the
2+ # tags of the referenced schema only, and depends on the schema.
3+ # The preset value references the job itself. If the preset tag were applied, this plan would fail
4+ # with a cycle error.
5+ trace $CLI bundle plan -o json | jq '.plan["resources.jobs.j"] | {tags: .new_state.value.tags, depends_on}'
Original file line number Diff line number Diff line change 1+ Badness = " presets.tags are silently not applied to a job whose tags is a reference to a whole map."
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,4 +4,7 @@ Warning: required field "enabled" is not set
44 at resources.jobs.j.queue
55 in databricks.yml:18:18
66
7- null
7+ {
8+ "has_queue": true,
9+ "queue": null
10+ }
Original file line number Diff line number Diff line change 1- # A target can add an explicit null that is kept, like a null in the base file: the default queue is not applied.
2- trace $CLI bundle validate -t dev -o json | jq '.resources.jobs.j. queue'
1+ # A target can add an explicit null that is kept, like a null in the base file: queue stays null and the default queue is not applied.
2+ trace $CLI bundle validate -t dev -o json | jq '.resources.jobs.j | {has_queue: has(" queue"), queue} '
You can’t perform that action at this time.
0 commit comments