google-cloud-platformgoogle-cloud-run

Google Cloud Run assigned URL unexpectedly changed


My Google Cloud Run assigned URL unexpectedly changed from:

https://xxxxx-yyyyy-dt.a.run.app

to:

https://xxxxx-yyyyy-an.a.run.app

This happened without any deployments or updates on my part. Is this the expected behavior, or could it be a bug?


Solution

  • The relevant docs are here.

    The URL you are talking about here is the non-deterministic URL, for which the docs say: After you deploy the service, however, the URL remains stable. Hence it should not change without action from your side. So if it did in fact change, then that would be a bug.

    Fwiw I personally never use the non-deterministic urls, and just use the much more readable deterministic urls, which can't really change at all.