[Feature Request]: Introduce a test case to ensure the `nested_roleAssignments.bicep` file references the correct `existing` resource
Open
enhancement
- Dominant language
- PowerShell
- Stars
- 737
- Forks
- 436
- Avg merge
- 10d 7h
- Merged PRs (30d)
- 1
Description
### Description
In some modules we seem to have incorrect `existing` resources in the `nested_roleAssignments.bicep` file which ultimately means the role assignments won't work.
To solve this, we should introduce a test that makes sure the referenced existing resource matches the module's resource type.
Contributor guide
Assessment
This issue has not been assessed yet.