Azure / Azure/ResourceModules

[Feature Request]: Introduce a test case to ensure the `nested_roleAssignments.bicep` file references the correct `existing` resource

Open
#3,162 1 comment 0 reactions 1 assignee Claimed by @JPEasier View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.