Repository navigation
Fix casing mismatch in Enforce-Guardrails-Automation policy set #2197
Unanswered
Arash Rezai (arrerezai)
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I found a casing mismatch in the Enforce-Guardrails-Automation policy set.
The parameter is declared as:
"aaModifyLocalAuth": { "type": "string", "defaultValue": "Modify", "allowedValues": [ "Modify", "Disabled" ] }However, the Modify-Aa-Local-Auth policy reference uses:
"value": "[[parameters('aaModifyLocalAUth')]"The U in AUth is incorrectly capitalized.
File:
Enforce-Guardrails-Automation.json
The declaration is correct, but the reference should be changed to:
`- "value": "[[parameters('aaModifyLocalAUth')]"
This causes failures with EPAC 11.5.5, which performs case-sensitive parameter lookup. The parameter is then resolved as empty, resulting in:
Cannot bind argument to parameter 'Effect' because it is an empty string.The generated initiative under initiatives.json appears to contain the correct casing, but the source policy-set definition still contains the typo.
Could this reference be corrected in the source file so that future ALZ synchronizations do not reintroduce the issue?
No policy effect or assignment value needs to change; this is only a parameter-reference casing correction.
All reactions