Open brentarias opened 1 year ago
The Azure Apps team uses the TTK with CLI, so it doesn't seem like that would be the issue.
Can you try re-running step 5 in this guidance and see if that works? https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/test-toolkit#install-on-windows
Thanks!
On Windows 11, I opened PowerShell Core (v7.3) and have executed the following command:
Unfortunately, I am unable to confirm that any module had been installed. With
Get-Module
I don't know what name to search for, but any combination of "arm" or "ttk" returns nothing. Furthermore, theTest-AzTemplate
cmdlet it was supposed to provide is AWOL. If I type inTest-AzTemplate
I get the following:I then try this...
I have also attempted to access the
Test-AzTemplate
command directly, like this:The result is that it does absolutely nothing. No errors, no processing. My PS prompt is given back, indicating nothing happened.
Why does arm-ttk act as though it is a ghost? It is as if it simply isn't there.
I have then made the effort to work with a Windows 10 laptop. I got exactly the same results. I asked a friend to attempt the same installation...but it worked for him. We started looking for differences between his configuration and mine, and the only difference we noted...is that he did not have the Azure CLI installed.
Perhaps the
arm-ttk
module is not compatible with the Azure CLI?