mammoth-honey-6147
09/01/2022, 12:59 PMstate
? I'd rather not delete an entire stack as I have variables and secrets I wish to retain and not re-encrypt. Otherwise I have to go through every URN to do so.ripe-russia-4239
09/01/2022, 1:01 PMpulumi destroy
should do this for youmammoth-honey-6147
09/01/2022, 1:02 PMripe-russia-4239
09/01/2022, 1:19 PMpulumi refresh
sort you out then? That should bring the stack state into line with what was deployed for it.mammoth-honey-6147
09/01/2022, 1:20 PMripe-russia-4239
09/02/2022, 10:40 AMpulumi stack init -s new-stack --copy-config-from=old-stack
pulumi stack rm -s old-stack
pulumi stack rename old-stack -s new-stack
You will end up with a diff on your encryption key, though.mammoth-honey-6147
09/02/2022, 10:42 AM