Hi all! New to pulumi, question for you all on get...
# azure
g
Hi all! New to pulumi, question for you all on getting access to nested map output. Hopefully an easy one. Using azure go. For a
ManagedCluster.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?
Copy code
profile := cluster.IdentityProfile.ApplyT(func(profile map[string]map[string]string) string {
		return string(profile["kubeletidentity"]["clientId"])
	}).(pulumi.StringOutput)
f
What was the solution?