I have a variable of type pulumi.Output. How can I...
# golang
r
I have a variable of type pulumi.Output. How can I cast it to pulumi.StringPtrOutput which is expected input type for a function?
This worked for me: v.ApplyT(func(o interface{}) *string { out := o.(string) return &out }).(pulumi.StringPtrOutput)