-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes were recognized even though there were none #760
Comments
When the plan generates does it give a reason for a change being detected? E. G. What is the output from the plan where it evaluates policy sets. Are you able to share the set definition? |
storageaccount-set-assignment.jsonc I hope I did not miss any important file. Processing Policy Set JSON files in folder './Definitions/policySetDefinitions' Number of Policy Set files = 2 The reason seems to be "Update (policies)" |
Hmm my thought is it may be the definition version specified in each policy, EPAC may not be checking for that when it does the diff. I'll have to test out the theory but won't have time until next week. |
But the definition version is mandatory right? Otherwise I can change/remove this data. |
It's not mandatory - if you want to try removing it and let me know if this fixes it - might help narrow down the problem. |
This actually fixed it. Thank you very much! |
Describe the bug
Build-DeploymentPlans.ps1 results each time in the fact that it has found a change in the policy set. (The deployment then runs - Deploy-PolicyPlan.ps1).
Nothing was adjusted in the policy set definitions, only the deployment was executed several times in succession.
Policy Set counts:
0 unchanged
2 changes:
new = 0
update = 2
replace = 0
delete = 0
Expected behavior
The script Build-DeploymentPlans.ps1 should only find a change if there really was a change in the definitions.
EPAC Version
10.6.0
The text was updated successfully, but these errors were encountered: