NoOpsAccelerator icon indicating copy to clipboard operation
NoOpsAccelerator copied to clipboard

userAssignedIdentities: type error on certain modules being deployed,

Open jrspinella opened this issue 3 years ago • 1 comments

Describe the bug type error on certain modules being deployed,

change all modules that use this:

var identity = identityType != 'None' ? { type: identityType userAssignedIdentities: !empty(userAssignedIdentities) ? userAssignedIdentities : {} } : {}

to

var identity = identityType != 'None' ? { type: identityType userAssignedIdentities: !empty(userAssignedIdentities) ? userAssignedIdentities : null } : null

This should fix all the type errors.

jrspinella avatar Dec 29 '22 22:12 jrspinella