This message was deleted.
# general
s
This message was deleted.
h
Because from my understanding, pulumi promotes the imperative declaration of a state. Can I order it to create a resource then delete it (a sequence), the same way I can with database migration (Alembic or the likes)
Got my answer: better off coding it myself. Pulumi still use a declarative engine driven by impetative languages.
c
@helpful-holiday-1475 This is actually how resource replacement works by default.
If you do something that causes us to replace something, we will create the new version first, and then delete the old version.
UNLESS you manually specify
name
, in which case we will delete before replace.