I’m planning to restructure my services, and I’d like to understand what determines when a new API gateway URL will be assigned after deployment. Is it just a function of the name of the service?
sls removewill change the base urls
- changing paths in the http event will obviously change the paths on the API gateway url returned
sls remove is the one to watch out for. If for some reason you need to tear down the stack and re-deploy, the random string appended to API gateway URLs will change.
PS we are working on some things to make it so users don’t need to worry about this in the future =)