great-mouse-52242
11/18/2022, 5:44 PMManagedCluster.IdentityProfile
, I want to get the nested kubeletidentity.clientId
from the map. It seems like I use some variation of ApplyT
but I'm not sure if it is idiomatic, see thread. Any tips?profile := cluster.IdentityProfile.ApplyT(func(profile map[string]map[string]string) string {
return string(profile["kubeletidentity"]["clientId"])
}).(pulumi.StringOutput)
future-analyst-18745
12/12/2022, 11:20 PM