AzOps is a PowerShell module which deploys (Push) ARM Resource Templates & Bicep files at all Azure scope levels and exports (Pull) ARM resource hierarchy.
This PR adds support for parallel deployments when used together with #836 resulting in deployments where applicable are processed in parallel and closes #832.
The below relationships between template file and parameters each represents a unique deployment (three in total) that is processed one by one in series.
This PR allows for this behaviour to be modified, so that the three deployments are processed in parallel. Thus, decreasing overall time spent waiting for WhatIf results and resource deployments.
This behavior's is controlled with a new setting Core.ParallelDeployMultipleTemplateParameterFiles read more in the wiki or head over to faq.
This feature is disabled by default, to enable this feature set Core.ParallelDeployMultipleTemplateParameterFiles to true and review your Core.AllowMultipleTemplateParameterFiles setting, both needs to be true to enable this scenario.
How many deployments are processed in parallel?
This is determined by the Core.ThrottleLimit value and is dependent on available compute cores.
This PR fixes/adds/changes/removes
Changes tests.yml
Changes Frequently-Asked-Questions.md
Changes Settings.md
Changes Initialize-AzOpsEnvironment.ps1
Changes Invoke-AzOpsPush.ps1
Changes Core.ps1
Changes ConvertFrom-AzOpsBicepTemplate.ps1
Changes New-AzOpsDeployment.ps1
Changes Set-AzOpsContext.ps1
Changes Set-AzOpsWhatIfOutput.ps1
Changes Strings.psd1
Changes Repository.Tests.ps1
Changes azuredeploy.jsonc
Adds staparalleldeploy.bicep
Adds staparalleldeploy.xabcd.bicepparam
Adds dstaparalleldeploy.xabcde.bicepparam
Adds staparalleldeploy.xabcdf.bicepparam
Adds staserialdeploy2.bicep
Adds staserialdeploy2.xabcdfg.bicepparam
Testing Evidence
Several manual tests have been performed on logic and one automated test case added to pester.
Overview/Summary
This PR adds support for parallel deployments when used together with #836 resulting in deployments where applicable are processed in parallel and closes #832.
The below relationships between template file and parameters each represents a unique deployment (three in total) that is processed one by one in series.
This PR allows for this behaviour to be modified, so that the three deployments are processed in parallel. Thus, decreasing overall time spent waiting for WhatIf results and resource deployments.
This behavior's is controlled with a new setting
Core.ParallelDeployMultipleTemplateParameterFiles
read more in the wiki or head over to faq.This feature is disabled by default, to enable this feature set
Core.ParallelDeployMultipleTemplateParameterFiles
totrue
and review yourCore.AllowMultipleTemplateParameterFiles
setting, both needs to betrue
to enable this scenario.How many deployments are processed in parallel? This is determined by the
Core.ThrottleLimit
value and is dependent on available compute cores.This PR fixes/adds/changes/removes
tests.yml
Frequently-Asked-Questions.md
Settings.md
Initialize-AzOpsEnvironment.ps1
Invoke-AzOpsPush.ps1
Core.ps1
ConvertFrom-AzOpsBicepTemplate.ps1
New-AzOpsDeployment.ps1
Set-AzOpsContext.ps1
Set-AzOpsWhatIfOutput.ps1
Strings.psd1
Repository.Tests.ps1
azuredeploy.jsonc
staparalleldeploy.bicep
staparalleldeploy.xabcd.bicepparam
dstaparalleldeploy.xabcde.bicepparam
staparalleldeploy.xabcdf.bicepparam
staserialdeploy2.bicep
staserialdeploy2.xabcdfg.bicepparam
Testing Evidence
Several manual tests have been performed on logic and one automated test case added to pester.
As part of this Pull Request I have
main
branch