Skip to content

Commit

Permalink
[Doc] Added Queue Data Contributor role to Azure terraform docs (#4412)
Browse files Browse the repository at this point in the history
## Changes
The Queue Data Contributor role is required to support managed file
events on Azure. This is already covered in the [Databricks user
docs](https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/azure-managed-identities#grant-files),
but not the terraform docs until now.

## Tests

- [ ] `make test` run locally
- [x] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] using Go SDK
- [ ] using TF Plugin Framework
  • Loading branch information
borremosch-db authored Jan 21, 2025
1 parent 6b9a584 commit 646390f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/guides/unity-catalog-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ resource "azurerm_role_assignment" "ext_storage" {
role_definition_name = "Storage Blob Data Contributor"
principal_id = azurerm_databricks_access_connector.ext_access_connector.identity[0].principal_id
}
resource "azurerm_role_assignment" "ext_storage" {
scope = azurerm_storage_account.ext_storage.id
role_definition_name = "Storage Queue Data Contributor"
principal_id = azurerm_databricks_access_connector.ext_access_connector.identity[0].principal_id
}
```

Then create the [databricks_storage_credential](../resources/storage_credential.md) and [databricks_external_location](../resources/external_location.md) in Unity Catalog.
Expand Down

0 comments on commit 646390f

Please sign in to comment.