To follow up on this for clarification.
To support multiple regions let's say
us-central1 and
europe-west3 I'd have to:
- Create & deploy a new OpenAPI spec with the x-google-backend pointing to my backend service for us-central1
- Create & deploy a new OpenAPI spec with the x-google-backend pointing to my backend service for europe-west3
This means I'd end up with 2 revisions in Cloud endpoints, let's say 2022-01-30r0 and 2022-01-30r1.
I'd then have to build the ESPv2 image containing the OpenAPI spec, one for each region/configId.
Deploy for each region a new Cloud Run Revision referencing the newly build images.
My follow-up question on this is, when I deploy out a new update to my OpenAPI spec, will the already deployed ESPv2 instances pick up the new configuration? Do I have to specify some specific params to make sure that a new spec change is not being picked up?