PlagueHO / CosmosDB

PowerShell Module for working with Azure Cosmos DB databases, collections, documents, attachments, offers, users, permissions, triggers, stored procedures and user defined functions.
http://dscottraynsford.com
MIT License
152 stars 46 forks source link

Fix Test Bicep for Deploying Cosmos DB with RBAC permissions #485

Open PlagueHO opened 2 months ago

PlagueHO commented 2 months ago

Issue

There is an issue with the role being hardcoded into the bicep: https://github.com/PlagueHO/CosmosDB/blob/main/tests/TestHelper/AzureDeploy/CosmosDb.bicep#L33

This should be set from the parameter.