Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the AWS regions, help! :) #38

Open
jaime-skupee opened this issue Apr 10, 2023 · 2 comments
Open

Problem with the AWS regions, help! :) #38

jaime-skupee opened this issue Apr 10, 2023 · 2 comments

Comments

@jaime-skupee
Copy link

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
Captura de Pantalla 2023-04-10 a la(s) 12 26 48

And this one my parameter store on us-east-2
Captura de Pantalla 2023-04-10 a la(s) 12 28 33

To Reproduce
Steps to reproduce the behavior:

  1. Create a SvelteKit project "my-app" - npm create svelte@latest my-app
  2. cd my-app
  3. npm install
  4. npm install -D sveltekit-adapter-aws
  5. edit svelte.config.js
  6. configure your account aws configure on us-east-2 (this was my default region)
  7. npm build

Captura de Pantalla 2023-04-10 a la(s) 12 59 08

Trying with another region

  1. configure your account aws configure on us-east-1
  2. npm run build

Captura de Pantalla 2023-04-10 a la(s) 12 18 11

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

@k-dahl
Copy link

k-dahl commented Apr 12, 2023

Hey @jaime-skupee ,

CDK has a bootstrap routine that needs to be run for each different region you are using it in:

https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html

@jaime-skupee
Copy link
Author

Thanks @k-dahl sorry the late response, but yeah, thats what I did and all work wonderful I'm really appreciate 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants