Hello together, <https://www.pulumi.com/registry/...
# general
c
Hello together, https://www.pulumi.com/registry/packages/digitalocean/api-docs/app/ iam tryring to use the "Look up an Existing App Resource" to check my deployed digital ocean app for updates. My Problem is that i have the ID as string and do not know how to use it as the IDInput Datatype. I am using Go as language. Any ideas ? Thanks :)
e
I think you just need to cast to the
ID
type which is an alias for string.
c
thank you very much - i will try 🙂
but not sure how to cast it ? do you have an example for me 🙂
e
pulumi.ID("string")
<- just like casting between other types
c
i am stupid 😄 thank you very very much
e
🙂 n/p