microsoft / winget-cli-restsource

This project aims to provide a reference implementation for creating a REST based package source for the winget client.
MIT License
245 stars 63 forks source link

Issue on Cosmos DB creation #123

Open ice02 opened 2 years ago

ice02 commented 2 years ago

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
RDMacLachlan commented 2 years ago

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