order of deployment for shared authorizer across all API gateways #8734
Unanswered
s1mrankaur
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the Serverless framework and we will have multiple microservices for tenants, users, and such.
Each microservice will have its own API gateway. I do want to ensure that APIs remain independently deployable and would like to limit the dependency to the minimum.
In the case of an independent API gateway for each service, the
serverless.yml
file in each of the folders of microservices will define the API gateway. I intend to share thelambda authorizer
. Once lambda authorizer is deployed, it'sarn
should be stored inSSM
and will be fetched at API gateway definition in theserverless.yml
file. The ARN will be available only if the authorizer gets deployed first.How can we make sure that lambda authorizer is deployed before the API gateways?
Beta Was this translation helpful? Give feedback.
All reactions