Hello! I am trying to capture the clientId from th...
# general
a
Hello! I am trying to capture the clientId from the ManagedCluster Output. I was able to do it so by writing this:
const clientId = managedCluster.identityProfile.apply(profileIds => profileIds?.kubeletIdentity.clientId);
However, the clientId is
Undefined
at all time. I am ABLE to see the
identityProfile
property being filled out in the Pulumi interface under Resource. How can I ensure I am calling the clientId when it's available?