google-cloud-platformgoogle-api-gateway

Google Cloud API Gateway static URL


I'm working on an API, deployed using Google Cloud's API Gateway. The problem is, every time I redeploy the API (which happens, for example, every time I change the configuration and need to redeploy it) the gateway url changes. This is not a big deal in development, but eventually this will hit production and I need the url to remain the same through different deployments.

How can I "set" the url so that it remains static?


Solution

  • Turns out I had made an incorrect assumption: that you needed to redeploy the api-gateway. This was incorrect.

    That solution was simple: delete the previous config and deploy the new one. That's it.