microsoft / microsoft/winget-cli-restsource
Issue on Cosmos DB creation
@RDMacLachlan is already working on this.
Since Mar 15, 2022.
- Dominant language
- C#
- Stars
- 317
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.