billions-egg-86119
10/25/2024, 10:26 PMcomponent.Cluster.Nodes.ApplyT(func(nodes []pgedge.ClusterNode) string {
for index, node := range nodes {
name = fmt.Sprintf("node-%d", index+1)
ctx.Export(name+"-name", pulumi.String(node.Name))
ctx.Export(name+"-region", pulumi.String(node.Region))
ctx.Export(name+"-zone", pulumi.String(node.AvailabilityZone))
}
return ""
})
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by