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 single template with multiple parameter file associations resulting in multiple deployments and closes #831.
The parameter file association allows for many-to-one relationships between parameter file and template and each relationship represents a unique deployment.
This behavior's is controlled with three new settings Core.AllowMultipleTemplateParameterFiles, Core.DeployAllMultipleTemplateParameterFiles and
Core.MultipleTemplateParameterFileSuffix read more in the wiki or head over to faq.
This feature is disabled by default, to enable this feature set Core.AllowMultipleTemplateParameterFiles to true.
It is optional to change Core.DeployAllMultipleTemplateParameterFiles, if you want changes made to the base template to be treated as separate deployments for each corresponding parameter file.
It is optional to change Core.MultipleTemplateParameterFileSuffix, if you want a different filename identifier than x update this setting as well.
This PR fixes/adds/changes/removes
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-AzOpsWhatIfOutput.ps1
Changes Strings.psd1
Changes Repository.Tests.ps1
Adds rtmultibase.bicep
Adds rtmultibase.x123.parameters.json
Adds rtmultibase.xabc.bicepparam
Adds deployallrtbase.bicep
Adds deployallrtbase.x123.parameters.json
Adds deployallrtbase.xabc.bicepparam
Breaking Changes
N/A
Testing Evidence
Automated testing included in PR and in additon to that manual testing has been performed with custom .bicep, .json, .parameters.json and .bicepparam files in conjunjtion with different Azure Policy deployments.
Overview/Summary
This PR adds support for single template with multiple parameter file associations resulting in multiple deployments and closes #831.
The parameter file association allows for many-to-one relationships between parameter file and template and each relationship represents a unique deployment.
This behavior's is controlled with three new settings
Core.AllowMultipleTemplateParameterFiles
,Core.DeployAllMultipleTemplateParameterFiles
andCore.MultipleTemplateParameterFileSuffix
read more in the wiki or head over to faq.This feature is disabled by default, to enable this feature set
Core.AllowMultipleTemplateParameterFiles
totrue
.It is optional to change
Core.DeployAllMultipleTemplateParameterFiles
, if you want changes made to the base template to be treated as separate deployments for each corresponding parameter file.It is optional to change
Core.MultipleTemplateParameterFileSuffix
, if you want a different filename identifier thanx
update this setting as well.This PR fixes/adds/changes/removes
Frequently-Asked-Questions.md
Settings.md
Initialize-AzOpsEnvironment.ps1
Invoke-AzOpsPush.ps1
Core.ps1
ConvertFrom-AzOpsBicepTemplate.ps1
New-AzOpsDeployment.ps1
Set-AzOpsWhatIfOutput.ps1
Strings.psd1
Repository.Tests.ps1
rtmultibase.bicep
rtmultibase.x123.parameters.json
rtmultibase.xabc.bicepparam
deployallrtbase.bicep
deployallrtbase.x123.parameters.json
deployallrtbase.xabc.bicepparam
Breaking Changes
Testing Evidence
Automated testing included in PR and in additon to that manual testing has been performed with custom
.bicep
,.json
,.parameters.json
and.bicepparam
files in conjunjtion with different Azure Policy deployments.As part of this Pull Request I have
main
branch