microsoft / microsoft/winget-cli-restsource

Issue on Cosmos DB creation

Open
#123 1 comment 0 reactions 1 assignee View on GitHub

@RDMacLachlan is already working on this.

Since Mar 15, 2022.

Issue-Bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.