cndi E1000 - failed to pull decrypt tfstate
#857
johnstonmatt
announced in
Error Message Discussion
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
description
The
cndiCLI exits with error code1000when it attempts to decrypt yourterraform.tfstate.encryptedfile from your_statebranch.CNDI stores your terraform state file in the otherwise empty
_statebranch of your repository, where it is is encrypted at rest using the AES algorithm, taking your terraform state JSON, and yourTERRAFORM_STATE_PASSPHRASEas input to the encryption operation.If your decryption is failing it is likely that your state was previously encrypted with a different passphrase.
resolution tips
This issue can be challenging to remedy if you can't recover the original key passphrase used to seal your state.
You should first check to see if the
TERRAFORM_STATE_PASSPHRASEenv var is missing or incorrect in the environment where you are running yourcndicommand.Beta Was this translation helpful? Give feedback.
All reactions