This message was deleted.
s
This message was deleted.
o
You're using typescript? Try creating the object that has the key (the object after "userAssignedIdentities:") inside an Apply block
Like:
Copy code
userAssignedIdentities: userIdentity.apply(x => ({
  [x]: {}
})
c
And that did the trick. Thank you very much!
o
Yeah! That Azure API is a weird one, a map with keys and empty objects 🤦‍♂️
In case it ever comes up again or you see something similar, the Pulumi engine generally expects keys of objects or maps in all languages to be strings, not Output<string>
1
c
I still have nightmares because of ARM templates. So I don't complain too much. This is much better and quite refreshing. 😄
🙌 1