Hi Team, for cleaning up the underlying azure or a...
# typescript
n
Hi Team, for cleaning up the underlying azure or aws resources which have been created via pulumi stacks, am using pulumi destroy commands to do the same. However should I have also pulumi stack rm as well mandatorily to remove the stack state file that am storing in lets say in s3 ? Would not the destroy command delete the stack state in s3 by default ?
c
destroy
only destroys resources in the stack. It will not delete the stack. If you don't want the stack's history or its state files anymore, you should run
stack rm
.
n
Thanks.