[ISSUE] Issue with databricks_permissions
resource
#4604
Labels
docs
add explicit documentation about corner case
databricks_permissions
resource
#4604
Expected Behavior
The documentation claims that using
display_name
is correct. In reality, this value is an ID—not a true name—and should just work or be accurately well-named.Actual Behavior
Terraform fails with the following error:
Switching to
application_id
resolves the error.Steps to Reproduce
terraform apply
.databricks_service_principal.data_lake_reader.display_name
produces an error.databricks_service_principal.data_lake_reader.application_id
allows the configuration to apply correctly.Terraform and Provider Versions
Is it a regression?
No, this is not a regression — it’s just confusing. We should deprecate usage of 'display_name' and add 'application_id', or let the display name seek for matching display names or identifiers (assuming they are unique).
Debug Output
Important Factoids
display_name
for service principals.display_name
is not a human-friendly name but an identifier, and using it results in the error above.application_id
is required.Would you like to implement a fix?
sure
The text was updated successfully, but these errors were encountered: