AzOps: Error on creating the policies on Azure #634
|
Hi Team, Thanks in advance, |
Replies: 7 comments 2 replies
|
The deployment list is sorted alphabetically in the current AzOps version. But in #632 a An additional step in the validate-deploy pipeline to handle optional ordering at different scopes needs to be added as well. You can track issue #592 for updates. |
|
As Stefan pointed out, we will introduce a new As a side note, there is nothing preventing you from already today authoring/deploying a custom ARM/Bicep template with dependencies between policyDefinitions/policyAssignments. https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/resource-dependency |
|
Thanks for the response @daltondhcp. I would like to know when release 1.8.0 will be live and available to use? Regards, Nishant |
|
We are targeting end of this week. |
|
Hi Team, I hope the issue mentioned in this discussion is fixed in release 1.8.1? Which is I think the latest release for public use? |
|
Thanks. I made this logic to sort the file in correct order. May be you can share the below logic with other as well. function CustomSortOrder { |
|
I have found one more issue. I have created policy definition, Initiative and assignment. Align all these three object in the correct order. But seems like you are not waiting in between before creating the another object. Once my pipeline failed on Initiative creation says that definition doesn't exist but the definition do exist. I re-ran the pipeline and Initiative and assignment created successfully. |
The deployment list is sorted alphabetically in the current AzOps version. But in #632 a
-CustomSortOrderswitch has been added toInvoke-AzOpsPushto enable custom sort order.An additional step in the validate-deploy pipeline to handle optional ordering at different scopes needs to be added as well. You can track issue #592 for updates.