This message was deleted.
# general
s
This message was deleted.
e
Maybe if there's an invoke for it, what resource are you trying to check for?
b
It’s an eks cluster from
@pulumi/eks
Is there a way to get the ressources that are already in the stack?
e
Well if there already in the stack then preview will know about them? I'm a bit confused as to what your asking for here.
b
actually I am doing a preview of a program already ran, there is new code in this pulumi program. So I would like to know if a specific resource was already there in the stack. I need to know this in the program itself
e
Check it's ID
If you put the code that needs that resource to exist inside an ID.Apply it will only run if the ID resolves