module tutorial documentation not correct? #1859
-
I am working my way through the tutorial in the documentation pages, but my deployment fails when trying to deploy the role assignment example at: I believe the properties part of the code is not correct. The tutorial currently has: and I believe this should be: properties: { With this fix the bicep file deploys without further issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Interesting - I thought you could assign the role using just the role definition ID. I will create an issue to get this resolved. |
Beta Was this translation helpful? Give feedback.
-
Created #1863. FWIW, you do not need this all to be inside of a string. You can call the function directly: ...
roleDefinitionId: subscriptionResourceId('microsoft.authorization/roleAssignments', contributor)
... |
Beta Was this translation helpful? Give feedback.
Created #1863. FWIW, you do not need this all to be inside of a string. You can call the function directly: