Azure / bicep-registry-modules

Bicep registry modules
MIT License
474 stars 331 forks source link

[Module Proposal]: Built in Azure resource Id's #392

Closed GeorgeTTD closed 1 year ago

GeorgeTTD commented 1 year ago

Have you checked this module does not already exist in the registry?

Yes

Why is the module needed?

As referenced here its a pain to add the built in role definition Id's when authoring a module. It would be nice to have well known role Ids to reference using a friendly name rather than their Id's. Someone in the referenced link already shows how it can be automated using PowerShell.

Module path

identity/wellknownroles

Describe the module

A Module which exports a object containing well known azure role Id's that can be referenced by their well known name rather than their ID.

shenglol commented 1 year ago

Hi @GeorgeTTD, thanks for the proposal. I just wanted to let you know that we're actually actively working on implementing a new built-in function in Bicep/ARM templates that will allow mapping of role names to role definition IDs. This addition will eliminate the requirement for an external module and provide a more integrated and streamlined experience for developers.

sopelt commented 11 months ago

Hi @shenglol , great to hear that there is work in progress. Is there another tracking ticket we could watch out for?