An Azure Function written in C# that connects to CosmosDB using RBAC, plus the supporting infrastructure (Function, Storage, KeyVault, RBAC setup, App Insights) all written in bicep.
Why do you think that https://github.com/lechnerc77/azd-compatibility-azure-function is a good alternative to AzureFunction-CosmosDB-RBAC