AzOps: Error on creating the policies on Azure #634
-
Hi Team, Thanks in advance, |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response @daltondhcp. I would like to know when release 1.8.0 will be live and available to use? Regards, Nishant |
Beta Was this translation helpful? Give feedback.
-
We are targeting end of this week. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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 { |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
The deployment list is sorted alphabetically in the current AzOps version. But in #632 a
-CustomSortOrder
switch has been added toInvoke-AzOpsPush
to 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.