This reference implementation is based on Cloud Adoption Framework for Azure and provides an opinionated implementation that enables ITSG-33 regulatory compliance by using NIST SP 800-53 Rev. 4 and Canada Federal PBMM Regulatory Compliance Policy Sets.
MIT License
121
stars
87
forks
source link
GitHub Actions with RunWorkflows.ps1 does not work after Az module new version release #392
Describe the bug
The PowerShell script fails when trying to execute #required line in RunWorkflows.ps1 or EnvironmentContext.ps1 after the recent Az module update.
To Reproduce
Steps to reproduce the behavior: Run any GitHub action for Azure deployment
Additional context
After the AZ Module update, we found that we need to remove:
The line "#Requires -Modules Az, powershell-yaml" from RunWorkflows.ps1
The line "#Requires -Modules powershell-yaml" from EnvironmentContext.ps1
Describe the bug The PowerShell script fails when trying to execute #required line in RunWorkflows.ps1 or EnvironmentContext.ps1 after the recent Az module update.
To Reproduce Steps to reproduce the behavior: Run any GitHub action for Azure deployment
Additional context After the AZ Module update, we found that we need to remove: