microsoft/winget-cli-restsource

Issue on Cosmos DB creation

ice02 opened this issue · 1 comments

ice02 commented

Brief description of your issue

On france region, when i try to use New-WinGetSource.ps1 Cosmos DB creation fail always.
I found that issue is on cosmosdb.json ARM template. The parameter "name" is not correct and must be "cosmosName" instead.
When, changed, New-ARMParameterObject.ps1 must be changed also to have the good name

Steps to reproduce

use the following cmd line
New-WinGetSource -Name "contoso" -ResourceGroup "WinGetPrivateSource" -Region "francecentral" -ImplementationPerformance "Demo" -ShowConnectionInstructions

Expected behavior

Cosmos DB ARM template validation is OK and must be created without error

Actual behavior

Cosmos DB ARM template validation fail

Environment

Windows Package Manager REST Source Reference Implementation 1.1.20211101

Thank you for bringing this to our attention. We are looking into what you are experiencing.