Powershell 7 modules via bicep

Jack Wright 31 Reputation points
2022-02-01T22:03:14.48+00:00

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
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,182 questions
{count} vote

Accepted answer
  1. tbgangav-MSFT 10,416 Reputation points
    2022-02-02T06:57:05.293+00:00

    Hi @Jack Wright ,

    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 person found this answer helpful.

0 additional answers

Sort by: Most helpful