Skip to content

New-AzSubscriptionDeployment is lacking Mode parameter, right? #19147

Open
@SetTrend

Description

@SetTrend

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARM - TemplatesService AttentionThis issue is responsible by Azure service team.customer-reportedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions