jolly-church-88521
07/13/2022, 10:25 AMstate.json
file from S3 bucket and now I’m trying to do something like this:
➜ sandbox git:(main) ✗ pulumi stack import --file state.json
error: this command requires a stack, but there are none
➜ sandbox git:(main) ✗ pulumi stack import --stack eba --file state.json
error: no stack named 'eba' found
Am I missing something? I don’t see any other options for import
argument. And I see eba
name in the state.json file:
➜ sandbox git:(main) ✗
{
"version": 3,
"checkpoint": {
"stack": "eba", (...)
echoing-dinner-19531
07/13/2022, 10:31 AMstack init
to create a new stack first.jolly-church-88521
07/13/2022, 10:37 AM➜ sandbox git:(main) ✗ pulumi stack import --stack eba --file eba.json
error: could not deserialize deployment: unexpected end of JSON input
echoing-dinner-19531
07/13/2022, 10:42 AMjolly-church-88521
07/13/2022, 10:42 AMpulumi login file:///...
cp state.json state/.pulumi/stacks/eba.json
echoing-dinner-19531
07/13/2022, 10:44 AMjolly-church-88521
07/13/2022, 10:45 AM