terraform-azurerm-caf
terraform-azurerm-caf copied to clipboard
feat: Add support for configuring control-plane rbac on cosmos db accounts.
Issue-id
PR Checklist
- [ ] I have added example(s) inside the [./examples/] folder
- [ ] I have added the example(s) to the integration test list for normal (~30 minutes) or long runner >30 minutes
- [x] I have checked the coding conventions as per the wiki
- [x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
Description
Currently, it is impossible to assign management-level RBAC in Azure using the CAF module to a Cosmos DB account. This one-line change adds support for configuring Cosmos DB accounts with RBAC using the existing patterns and deployment mechanisms already validated in the module.
Does this introduce a breaking change
- [ ] YES
- [x] NO
Testing
Add a managed identity or other rbac assignment for a created cosmos db account and assign management level rbac to the cosmos db account.