gorgeous-pillow-81622
03/10/2023, 11:51 AMExport
(as in stack outputs) structured objects from Pulumi outputs?
For instance, let's say I provision a cluster and I have several properties I want to export, for instance (Go
code):
type Cluster struct {
Name pulumi.StringOutput
Tags pulumi.StringMapOutput
}
I would like to be able to marshall this struct in the stack output (could be JSON string) and unmarshall that on the caller side (caller is also Go
using Automation API)