sst / sst

Build full-stack apps on your own infrastructure.
https://sst.dev
MIT License
24.04k stars 1.85k forks source link

Windows only: Unable to find state bucket #5913

Open JohnLozier opened 3 weeks ago

JohnLozier commented 3 weeks ago

I was in the process of moving from sst on wsl to native windows and am getting the error below. I checked the parameter and the buckets being referenced still exist and are in the same region. I also tried deleting /sst/bootstrap and rerunning, but the error still persists despite the /sst/bootstrap key not being recreated.

The state bucket is missing, it may have been accidentally deleted. Go to https://console.aws.amazon.com/systems-manager/parameters/%252Fsst%252Fbootstrap/description?tab=Table and check if the state bucket mentioned there exists. If it doesn't you can recreate it or delete the `/sst/bootstrap` key to force recreation.

This is only happening when running on Windows. The exact same code works fine when run on wsl. I also noticed that windows is defaulting to a different stage name, but the issue still occurs when passing in the same stage wsl is using.

I am using Windows 11 and SST 3.17.4

JohnLozier commented 3 weeks ago

Related to #4446