This message was deleted.
# typescript
s
This message was deleted.
b
one sec, I'll paste you something useful 🙂
depending on how deep you need to go:
Copy code
principalId: aks.identity.apply(identity => identity?.principalId).apply(principalId => principalId ?? "<preview>")
that's for aks mind you, but I presume that most of these identity things are similar 🙂
r
That makes me feel better. Was doing it in a way similar to this so good to know I was on the right track. Thanks so much!
b
no prob 🙂
..if it makes you feel better, that line has a comment next to it in my code:
// oh lawd but it is oogly.
😂 1