Having migrated a whole infrastructure to the new ...
# azure
p
Having migrated a whole infrastructure to the new native provider, on the first
pulumi up
it sees fit to delete and recreate every resource (even though for most, the only change is to the new provider). What are my options for avoiding that? Can I somehow import these resources into the same stack where they already live?
t
What are you migrating from?
p
An existing stack based on the classic Azure provider, all the resources already exist bot in Azure and in the stack state.
Now I migrated the code to use the native provider.
t
Yes, this is a manual migration, please take a look at https://www.pulumi.com/docs/intro/cloud-providers/azure/from-classic/
🙏 1