databricks / cli

Databricks CLI
Other
132 stars 50 forks source link

Add sub-extension to resource files in built-in templates #1777

Closed shreyas-goenka closed 5 days ago

shreyas-goenka commented 1 week ago

Changes

We want to encourage a pattern of only specifying a single resource in a YAML file when an .<resource-type>.yml (like .job.yml) is used. This convention could allow us to bijectively map a resource YAML file to it's corresponding resource in the Databricks workspace.

This PR simply makes the built-in templates compliant to this format.

Tests

Existing tests.

pietern commented 1 week ago

@shreyas-goenka Can you update the PR summary?

Change LGTM.

shreyas-goenka commented 1 week ago

@pietern I have updated the PR description.