Hello, I am trying to import a state from Pulumi C...
# pulumi-cloud
c
Hello, I am trying to import a state from Pulumi Cloud into my S3 backend. Export is OK When I try to import (I previously logout and login to my s3 backend), I got this error:
Copy code
error: could not deserialize deployment: constructing secrets manager of type "service": could not find access token for <https://api.pulumi.com>, have you logged in?
Do not really understand the issue, please help 🙏
l
It looks like you have secrets encrypted using the key in your Pulumi Cloud, maybe? You may need to change the secrets manager. I'm not sure how to use Pulumi Cloud for secrets but S3 for state...
c
Got an issue with authentification: ◦ login to the Cloud and perform the export ◦ /!\ do not logout. Don't why ? I still need to be login to the cloud ◦ login to the new backend ◦ import the state ◦ rewrite the secret with a new secret provider - Do not found a way to migrate so I rewrote all ◦ test with pulumi preview,