-
Notifications
You must be signed in to change notification settings - Fork 444
Fix winrm
listeners data type
#4388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hey @coolhome, |
@description('Optional. Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. - AdditionalUnattendContent object.') | ||
param additionalUnattendContent array = [] | ||
|
||
@description('Optional. Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. - WinRMConfiguration object.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do want to mention that this looks like it meant to be a type WinRMConfiguration but in actuality its WinRMListener. Maybe the solution is to remove the listener mapping and allow users to pass the WinRMConfiguration type?
@AlexanderSehr yah I just noticed that as well. I have
Let me know if you want to re-create the PR. I am also happy with whatever. |
Closing since its now implemented in Azure/bicep-registry-modules#717 for AVM. |
Hey @coolhome, may I ask you to re-open the PR? I think for VMSS this is still very much relevant, isn't it? This module isn't migrated yet / started. |
h |
Hey @rahlan, I take it it's save to say you don't have this on your radar these days. |
Description
winRM is passed to listeners, which is an array and not an object. I was not able to perform set-module on the virtual machine construct, that template is broken.
Pipeline references
Type of Change
Checklist