microsoft/winget-cli-restsource

ARMTemplate folder seems to be missing in repo

jonasatgit opened this issue · 1 comments

Brief description of your issue

I cloned the repo and run "New-WinGetSource -Name "cloudlab" -ResourceGroup "WinGetPrivateSource" -Region "westus" -ImplementationPerformance "Demo" -ShowConnectionInstructions" and receive error:
New-WinGetSource: Testing found an error with the ARM template or parameter files.
New-WinGetSource: ARM Template and Parameter testing failed

The output looks like this whih no error value:
ParameterPath C:\winget-cli-restsource\Tools\PowershellModule\src\Library\Parameters\applicationinsights.json
ObjectType AppInsight
ObjectName cloudlab
Parameters {contentVersion, $Schema, Parameters}
TemplatePath C:\winget-cli-restsource\Tools\PowershellModule\src\Library\ARMTemplate\applicationinsights.json
Error

Problem seems to be related to a missing "src\Library\ARMTemplate" folder.

Steps to reproduce

Clone repo
Run: Import-Module .\Microsoft.WinGet.Source.psd1
Run: "New-WinGetSource -Name "cloudlab" -ResourceGroup "WinGetPrivateSource" -Region "westus" -ImplementationPerformance "Demo" -ShowConnectionInstructions"

Expected behavior

ARM template deployment

Actual behavior

New-WinGetSource: Testing found an error with the ARM template or parameter files.
New-WinGetSource: ARM Template and Parameter testing failed

Environment

Windows Package Manager (Preview) v1.3.1391-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.25151.1010
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.1391.0