Plan does not catch missing nonComplianceMessage\policyDefinitionReferenceId
in policyAssignments
#753
Labels
bug
Something isn't working
Describe the bug
Plan does not validate/catch missing/non-existing
nonComplianceMessage\policyDefinitionReferenceId
inpolicyAssignments
.Deploy then crashes when EPAC calls
Set-AzPolicyAssignmentRestMethod
with error:Would be great if EPAC could validate this during plan.
To Reproduce
In a
policyAssignments
: Create anonComplianceMessage
withpolicyDefinitionReferenceId
to apolicyDefinition
or apolicySetDefinition
that does not exist.Expected behavior
Catch this in plan.
Screenshots
No thanks.
EPAC Version
v10.6.0
The text was updated successfully, but these errors were encountered: