This message was deleted.
# general
s
This message was deleted.
s
I think you should be able to use
pulumi import
to import the resources so pulumi knows they already exist properly.
👍 1
c
Thanks for the fast reply @steep-pager-59220
@steep-pager-59220 Are there any plans on adding this feature anytime soon to Pulumi ? i.e ignore some kind of errors programatically
s
I'm not aware of it personally.
l
That's not a Pulumi issue. That's a lanugage issue. You can try/catch in the normal way. In this case, instead of attempting to create a new copy of something that already exists, your choices are either to import the resource first, so that it is managed in Pulumi, or to check if it exists first, then either create it or use the existing. Attempting to create then handling the error isn't the correct solution.