This message was deleted.
# general
s
This message was deleted.
d
what's showing in the preview? A delete + a create? The output will help diagnosing
f
yes delete and create
i would not give the output because it contains data i dont want to show in a public environment
d
are the resource names the same in the output?
f
yes
d
which resource? It's worth doing a
pulumi refresh
to ensure the state is up to date against the service. with
pulumi preview --diff
, it'll show the URNs, are they also the same?
f
ok will try
yes urns are the same
otherwise it woukld not want to delete the resources right?
d
it would delete the resource if the URNs are different
you'd usually see a replace as apposed to a delete+create if they're the same. I've generally always used the
import
resource option instead of
pulumi import
CLI as it gives a bit more flexibility and behaves better with Component Resources.
f
oh
-- instead of -
well thats the beauty of not beeing chat gpt i guess 😄
d
what's that?
f
the urn
has two dashes in stead of one
as the import and i did not saw that
thank you 😕
d
oh haha, no worries. Glad you didn't end up deleting anything
f
yeah i was just to fast this is production infrastructure we did not set up with pulumi and i import it right now to work with it for customer on boarding
d
sometimes it's needed ¯\_(ツ)_/¯