databricks-cli/bundle/tests/run_as
shreyas-goenka 5df4c7e134
Add allow list for resources when bundle `run_as` is set (#1233)
## Changes
This PR introduces an allow list for resource types that are allowed
when the run_as for the bundle is not the same as the current deployment
user.

This PR also adds a test to ensure that any new resources added to DABs
will have to add the resource to either the allow list or add an error
to fail when run_as identity is not the same as deployment user.

## Tests
Unit tests
2024-03-27 16:13:53 +00:00
..
allowed Add allow list for resources when bundle `run_as` is set (#1233) 2024-03-27 16:13:53 +00:00
not_allowed Add allow list for resources when bundle `run_as` is set (#1233) 2024-03-27 16:13:53 +00:00