Join Slack
Powered by
Hello, how can I convert a custom type, pulumi.Str...
# golang
s
stocky-motorcycle-65008
05/11/2020, 6:44 PM
Hello, how can I convert a custom type, pulumi.StringOutput to String?
b
billowy-army-68599
05/11/2020, 7:01 PM
We have a page on this here
https://www.pulumi.com/docs/intro/concepts/programming-model/#outputs-and-strings
Which language are you using? looks like Go, but want to be sure 🙂
👍 1
b
bulky-match-1583
05/20/2020, 7:30 AM
@billowy-army-68599
Maybe i'm missing something. We can concatenate StringOutputs to another StringOutput value but not to String.
bulky-match-1583
05/20/2020, 9:52 AM
@billowy-army-68599
is there any example of converting StringOutput to string in golang?
b
billowy-army-68599
05/20/2020, 3:13 PM
have a look here
https://www.pulumi.com/docs/intro/concepts/programming-model/#outputs-and-strings
10
Views
Open in Slack
Previous
Next