Describe the issue
When running databricks bundle deploy a new error has started appearing that says the only valid permissions are CAN_MANAGEandIS_OWNERfor a job even thoughCAN_MANAGE_RUNandCAN_VIEW` are valid as per:
- API Reference
- DABs Job Permission Documentation
- What can actually be assigned in Databricks UI
Configuration
Extract from databricks.yml
targets:
feature_branch:
resources:
jobs:
interim_gold_layer_job:
permissions:
- group_name: <group name>
level: CAN_MANAGE
green:
resources:
jobs:
interim_gold_layer_job:
permissions:
- user_name: <user email>
level: CAN_MANAGE_RUN
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
- Run
databricks bundle deploy ...
- See error
Expected Behavior
The expectation is for all permissions as per the API Reference that are applicable to the object as per the DABs Job Permission Documentation to be allowed.
Actual Behavior
Example from my GitHub Workflow log below
Error: cannot create permissions: cannot remove management permissions for the current user for job, allowed levels: CAN_MANAGE, IS_OWNER
with databricks_permissions.job_interim_gold_layer_job,
on bundle.tf.json line 1975, in resource.databricks_permissions.job_interim_gold_layer_job:
1975: },
OS and CLI version
Is this a regression?
Yes, this wasn't an issue in v0.275.0
Describe the issue
When running
databricks bundle deploy a new error has started appearing that says the only valid permissions areCAN_MANAGEandIS_OWNERfor a job even thoughCAN_MANAGE_RUNandCAN_VIEW` are valid as per:Configuration
Extract from databricks.yml
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
databricks bundle deploy ...Expected Behavior
The expectation is for all permissions as per the API Reference that are applicable to the object as per the DABs Job Permission Documentation to be allowed.
Actual Behavior
Example from my GitHub Workflow log below
OS and CLI version
Is this a regression?
Yes, this wasn't an issue in v0.275.0