Open timja opened 2 years ago
Thanks for raising this issue. Seems service API only supports roleDefinitionId for now. Maybe it would be supported by API in the future. If you happen to know, could you share the doc talking about this feature roleDefinitionName
? Thanks in advance.
It’s not mentioned in the docs but Azure CLI supports it.
example command is here: https://plugins.jenkins.io/azure-cosmosdb/#plugin-content-rbac-setup
Is there an existing issue for this?
Community Note
Description
There are two built-in roles. It would be nice to be able to use these directly without having to pass the id in.
For those of you who want to do this in the meantime you can workaround this by doing:
New or Affected Resource(s)/Data Source(s)
azurerm_cosmosdb_sql_role_assignment
Potential Terraform Configuration
References
https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac#built-in-role-definitions