https://pulumi.com logo
#azure
Title
# azure
p

powerful-football-81694

03/09/2021, 3:40 PM
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

tall-librarian-49374

03/09/2021, 3:41 PM
What are you migrating from?
p

powerful-football-81694

03/09/2021, 3:41 PM
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

tall-librarian-49374

03/09/2021, 3:43 PM
Yes, this is a manual migration, please take a look at https://www.pulumi.com/docs/intro/cloud-providers/azure/from-classic/
🙏 1
3 Views