This message was deleted.
# golang
s
This message was deleted.
1
b
i think you might be able to do
loadBalancerIP.(pulumi.StringOutput)
s
thanks for the feedback, applying the type directly like this I get a panic
Copy code
interface conversion: pulumi.Output is pulumi.AnyOutput, not pulumi.StringOutput
when running
pulumi up
w
Looks like you are running into https://github.com/pulumi/pulumi/issues/6073. As noted in the latest comment there - you should be able to workaround that with this:
Copy code
// To workaround #6073, convert from `interface{}` to `string`
x1 := x.ApplyT(func(v interface{}) string {
    return v.(string)
}).(pulumi.StringOutput)
🙌 2
s
Thanks! That solved my issue!
g
Hah I was running into a similar issue, praise be!
👍 2