I want to add a custom domain to the API Gateway using serverless framework but without "serverless-domain-manager" or any other plugin. I am looking for a more native way, maybe extending a resource in "serverless.yml"
All articles suggest that plugin, but it isn't the best for multi environment pipelines
https://www.serverless.com/blog/serverless-api-gateway-domain/
Doing it manually is not that complicated, here is the full explanation
us-east-2
API Gateway
> Custom domain names
> Create
, use Regional
endpoint type if using HTTP APIsAPI Gateway domain name
, you'll need to point a CNAME
record to itAPI mappings
and create the mappings, in my case main
and prod
with stage $default