You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 17, 2021. It is now read-only.
Alias definitions in PowerShell take precedence over functions, which take precedence over cmdlets.
PSArm defines cmdlet-based keywords with aliases, but resource-specific keywords (i.e. keywords within a Resource block) a defined as functions. This means they will be overridden by other aliases.
For example, a resource with a keyword called type won't be able to use that keyword on Windows because of the type alias for Get-Content.
To fix this, Arm blocks should disable aliases for the duration of their execution and restore them afterward.