https://pulumi.com logo
Title
f

freezing-ability-2805

12/16/2022, 10:18 PM
Hello, just wonder if any body experience the issue to deploy with Pulumi via bitbucket to Azure, the error message is: failed to decrypt: incorrect passphrase, please set PULUMI_CONFIG_PASSPHRASE to the correct passphrase or set PULUMI_CONFIG_PASSPHRASE_FILE to a file containing the passphrase the DEV and QA deployments works fine the PROD deployment is failing, thanks in advance.
b

billowy-army-68599

12/16/2022, 11:12 PM
@freezing-ability-2805 do you know the passphrase? have you set it?
f

freezing-ability-2805

12/16/2022, 11:55 PM
No I don’t, it is set but I kind of not using it for this deployment (did change security provide do deploy and did successfully deploy to Dev&Qa) the passphrase cannot be recovered we need some how reset or delete it
b

billowy-army-68599

12/17/2022, 12:00 AM
you cannot reset or delete it, if you don’t know what it is, you’ll need to create a new stack and import all the resources into it
f

freezing-ability-2805

12/17/2022, 12:01 AM
Thanks sounds good will do that just to understand if passphrase set per stack or per pulumi instance
b

billowy-army-68599

12/17/2022, 12:05 AM
It’s set per stack
f

freezing-ability-2805

12/17/2022, 2:48 AM
do you know how to destroy stack without passphrase? i tried to use this command but after typing stack name there is no actions...
b

billowy-army-68599

12/17/2022, 2:48 AM
You cannot perform any operations on a stack without the passphrase
f

freezing-ability-2805

12/17/2022, 2:49 AM
ok is any advise how to proceed from here?
b

billowy-army-68599

12/17/2022, 2:49 AM
What do you want the end state to be?
f

freezing-ability-2805

12/17/2022, 2:51 AM
i want apply my last changes and redeploy the stack to prod instance of Azure (i have done it for DEV and QA not sure how but i was able to destroy dev and qa stacks)
b

billowy-army-68599

12/17/2022, 2:51 AM
You will not be able to do that without the passphrase
What you’ll now need to do is: • delete the stack state from your state store • reimport all of the resources in that stack into a newly instantiated stack
f

freezing-ability-2805

12/17/2022, 2:53 AM
that is sounds good how i can do the first step?
b

billowy-army-68599

12/17/2022, 2:54 AM
Delete the file in your state store, where that is
f

freezing-ability-2805

12/17/2022, 2:55 AM
hmmm will need to dig for it thanks for your help!!!