I would like to have an API gateway per microservice and I wish to have the lamda-authorizer shared across all the API gateways.
I was reading here https://www.serverless.com/framework/docs/providers/aws/events/apigateway/#sharing-authorizer and it seems possible but I am not sure
- how to ensure that lambda authorizer gets deployed first so that we have the arn to use in all of the APIGateways.
- Also, If MicroserviceA calls MicroserviceB, How do we ensure that MicroserviceB is deployed first?
- Similarly, where/how should the “shared-services” in the project be structured/placed so that inter-service communication is easy.