Open
Description
Description
According to @alex-frankel's answer to my original question, a subscription
Bicep file may load and execute a resouceGroup
Bicep file in order to (re-)create a resource group and all resources contained therein.
While the New-AzResourceGroupDeployment
Cmdlet comes with a Mode
parameter, providing an option to either leave all existing resources (Incremental
) or remove all resources not existing in the ARM template being deployed. (Complete
). the New-AzSubscriptionDeployment
lacks this parameter.
Question
In order to create idempotent Bicep files, I think the Mode
parameter is crucial, even to New-AzSubscriptionDeployment
, as it may execute a resourceGroup
Bicep module.
You think so, too? Then I'd create a Feature Request issue.