-
Notifications
You must be signed in to change notification settings - Fork 53
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
[BUG] Exception Calling GetBicepResources #2739
Comments
Thanks for raising your first issue, the team appreciates the time you have taken 😉 |
@oZakari Thanks for logging the issue. I have been able to trace the issue back to a bug in PSRule for Azure. However I also found this block of code in @description('Output of the Management Group and Subscription Resource ID placements.')
output subscriptionPlacements array = [
for (subscription, i) in subscriptionIds: {
name: '${managementGroupId}/${subscription}'
}
] After inspecting the code it seems that I'll create a downstream issue on https://github.com/Azure/PSRule.Rules.Azure for the resolution that will ship in the next patch release, estimated next week. |
Fixed in PSRule for Azure release v1.41.1. |
Description of the issue
Creating a subscription placement module for the Bicep registry.
Tests are failing with exception during PSRule.
Error messages
https://github.com/oZakari/bicep-registry-modules/actions/runs/12997174362/job/36247590993
Reproduction
Run the tests locally within the Bicep Registry Module
Version of PSRule
2.9.0
How are you running PSRule
GitHub Actions
Additional context
No response
The text was updated successfully, but these errors were encountered: