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

ancient-eve-13947

07/14/2021, 6:35 PM
is there a way to tell Pulumi "completely throw away what you think you know about the state of my Azure resources", while keeping everything in my Pulumi.dev.yaml? so that afterwards, when I do a
pulumi up
, it will just create a new resource group etc? background: something went wrong with destroying and now some Azure resources take ages to get deleted, and I'd like to continue testing meanwhile.
t

tall-librarian-49374

07/14/2021, 6:39 PM
Doesn’t
pulumi refresh
help? You can also delete the stack with
pulumi stack rm
a

ancient-eve-13947

07/14/2021, 6:39 PM
if I do stack rm, will it leave my config values alone?
pulumi refresh is not the right thing, I think at least, because there is a resource that takes ages both to create and to delete (redis cache) and if it refreshes now, it will see something like "is being deleted", I guess that wouldn't help it much, would it?
t

tall-librarian-49374

07/14/2021, 6:41 PM
if I do stack rm, will it leave my config values alone?
Yes, the file won’t change
a

ancient-eve-13947

07/14/2021, 6:43 PM
thanks!
3 Views