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

Is it possible to use EDGE domains? #30

Open
mightyinsomniak opened this issue Aug 4, 2020 · 1 comment
Open

Is it possible to use EDGE domains? #30

mightyinsomniak opened this issue Aug 4, 2020 · 1 comment

Comments

@mightyinsomniak
Copy link

mightyinsomniak commented Aug 4, 2020

If not, how can i force the usage of "API Gateway V1"?
I currently get an error when i try to deploy a simple express app with my custom domain

component: express     
name: myname            
org: myorg              
app: myapp                   

inputs:
  src: ./src
  domain: my-cool-domain.com

"Only REGIONAL domain names can be managed through the API Gateway V2 API. For EDGE domain names, please use the API Gateway V1 API. Also note that only REST APIs can be attached to EDGE domain names"

aws does not give me the opprtunity to use regions in r53, i only have acces to the "global" region

not sure how to proceed.

@eahefnawy
Copy link
Member

Could you try removing the my-cool-domain.com from your API Gateway console and redeploy? It should recreate it with the correct regional configuration.

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