question

JackWright-1608 avatar image
1 Vote"
JackWright-1608 asked tbgangav-MSFT edited

Powershell 7 modules via bicep

Is possible to add powershell modules registered to the 7.1 runtime via bicep?

Current configuration:

 resource moduleResources 'Microsoft.Automation/automationAccounts/modules@2020-01-13-preview' = [for m in modules: {
   name: m.name
   location: location
   parent: automationAccount
   properties: {
     contentLink: {
       uri: m.uri
     }
   }
 }]


azure-automation
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

tbgangav-MSFT avatar image
1 Vote"
tbgangav-MSFT answered tbgangav-MSFT edited

Hi @JackWright-1608,

I understand that you would like to add PowerShell modules registered to 7.1 runtime via bicep.

Currently PowerShell 7.1 runtime is supported only through the Azure Portal. API changes for ARM / bicep and PowerShell cmdlets are not yet implemented. We are tracking this as part of PowerShell 7.1 GA. Tentative ETA is moved to Q4 CY22 as service is undergoing some of the major architecture level changes.

Related information is found here / here.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the update!

0 Votes 0 ·