How can I get outputs that are nested in some stru...
# general
h
How can I get outputs that are nested in some structure?
service.Template.Metadata()
I'm getting an error
applier must have 1 input parameter assignable
w
This is in Go, right? Can you share a little more context on the code? Which cloud provider is this? Also - which version of Pulumi libraries are you using?
h
This is gcp and it's simple cloudrun service
Copy code
service, err := cloudrun.NewService(.....)
if err != nil { return err }
ctx.Export("gateway-metadata", service.Template.Metadata())
Copy code
<http://github.com/pulumi/pulumi-gcp/sdk/v3|github.com/pulumi/pulumi-gcp/sdk/v3> v3.0.1
<http://github.com/pulumi/pulumi/sdk/v2|github.com/pulumi/pulumi/sdk/v2> v2.0.0
I want to get image out as exported value.