Closed subesokun closed 10 months ago
Seems to be in line with the docs and as expected: "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here."
Most resources use the pattern of supplying the identifiers for the identities, and not the identity object itself.
I see, but then maybe it's an issue with the Bicep linter? It didn't show me any error and suggested me to directly reference the UAI. The mentioned error gets first thrown when trying to deploy it.
This definitely looks like a gap in Bicep's type analysis to me.
@anthony-c-martin This behavior seems to be the same for all resources that has an identity block so I take it that's not RP specific and on a more generic level.
Bicep version Bicep CLI version 0.21.1 (d4acbd2a9f)
Describe the bug Deployment fails when directly referencing an UAI in the identity block of a storage account.
To Reproduce Steps to reproduce the behavior:
Additional context
Deployment works when indirectly referencing the resource ID of the UAI.