Open warrantor opened 2 years ago
ARM
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure.
Author: | warrantor |
---|---|
Assignees: | zhoxing-ms |
Labels: | `Service Attention`, `ARM`, `customer-reported` |
Milestone: | Backlog |
@armleads-azure Do you have any updates on this issue.
This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az deployment group create
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az deployment group create -g {} --template-file {}
Expected Behavior
Function app deployment successfully completes before role assignment starts.
Environment Summary
Additional Context
When doing this with appsettings or when adding a secret to a keyvault with this kind of setup, Azure Resource Manager respects the dependency. When trying this for role assignments, the ARM immediately tries to assign the role, while the resource deployment is still busy. The template spec outputs the object ID of the function app, if we change the template to use this output variable in
properties.principalId
:becomes:
The Azure Resource Manager respects the dependency.