is there a way to tell Pulumi "completely throw aw...
# azure
a
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
Doesn’t
pulumi refresh
help? You can also delete the stack with
pulumi stack rm
a
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
if I do stack rm, will it leave my config values alone?
Yes, the file won’t change
a
thanks!