Problem with the AWS regions, help! :)
jaime-skupee opened this issue · 2 comments
Describe the bug
I installed the adapter make a wonderful deploy to my configured account in the region us-east-2 and then when I change my region to us-east-1 always gives me an error of SSM parameter /cdk-bootstrap/hnb659fds/version not found I checked on the AWS dashboard and that parameter is on the us-east-2 region, but I don't remember myself creating it, so I though maybe the adapter created it for me, but nothing happens on trying to deploy to a different region, do I have to create it myself? or is it something else or I missing? I would really love to been able to deploy to a different region the stack.
This is my parameter store on us-east-1
And this one my parameter store on us-east-2
To Reproduce
Steps to reproduce the behavior:
- Create a SvelteKit project "my-app" - npm create svelte@latest my-app
- cd my-app
- npm install
- npm install -D sveltekit-adapter-aws
- edit svelte.config.js
- configure your account aws configure on us-east-2 (this was my default region)
- npm build
Trying with another region
- configure your account aws configure on us-east-1
- npm run build
Expected behavior
That I could make the deploy in different regions
Desktop (please complete the following information):
- iOS MacOs Monterrey
- Chrome
- Versión 112.0.5615.49 (Build oficial) (arm64)
Additional context
All this actions I'm making them on my AWS personal account who I have full permissions over all the services, and I was testing this adapter to use on the job account, that I don't have but just the permissions that I ask and they approve and they want me to work mostly on Frankfurt region
Hey @jaime-skupee ,
CDK has a bootstrap routine that needs to be run for each different region you are using it in:
Thanks @k-dahl sorry the late response, but yeah, thats what I did and all work wonderful I'm really appreciate