You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/deployment-stacks.md
+38-2Lines changed: 38 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -416,9 +416,45 @@ When updating a deployment stack, you might encounter the following stack-out-of
416
416
The deployment stack '{0}' may not have an accurate list of managed resources. To ensure no resources are accidentally deleted, please check that the managed resource list does not have any additional values. If there is any uncertainty, we recommend redeploying the stack with the same template and parameters as the current iteration. To bypass this warning, please specify the 'BypassStackOutOfSyncError' flag.
417
417
```
418
418
419
-
The `BypassStackOutOfSyncError` swith in Azure PowerShell ( or `bypass-stack-out-of-sync-error` in Azure CLI) should only be used after thoroughly review the list of resources in the stack before re-running the command. This switch should never be used by default.
419
+
You can obtain an accurate list of the resources from the Azure portal or redeploy the currently deployed Bicep file with the same parameters. The output shows the managed resources
420
420
421
-
To obtain an accurate list of resources in a stack, you can redeploy the currently deployed template with the same parameters.
1. Open the Resource group that contains the stack.
452
+
1. From the left menu, expand **Settings**, and then select **Deployment stacks**.
453
+
1. Select the stack name to open the stack.
454
+
455
+
---
456
+
457
+
After you have reviewed and verified the list of resources in the stack, you can re-run the command with the `BypassStackOutOfSyncError` switch in Azure PowerShell ( or `bypass-stack-out-of-sync-error` in Azure CLI). This switch should only be used after thoroughly review the list of resources in the stack before re-running the command. This switch should never be used by default.
0 commit comments