Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

userAssignedIdentities: type error on certain modules being deployed, #229

Open
jrspinella opened this issue Dec 29, 2022 · 1 comment
Open
Labels
bicep Related to Bicep code bug Something isn't working core New feature or request

Comments

@jrspinella
Copy link
Contributor

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 jrspinella added bug Something isn't working bicep Related to Bicep code core New feature or request labels Dec 29, 2022
@jrspinella jrspinella added this to the NoOps V1 Release milestone Dec 29, 2022
@OutKa5t
Copy link
Contributor

OutKa5t commented Dec 30, 2022

Need to discuss with @jftl6y as this was changed because of compilation errors in PR 198

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bicep Related to Bicep code bug Something isn't working core New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants