File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ functions:
5454 path : /{proxy+}
5555 method : ANY
5656 authorizer :
57- arn : ${ssm:/platform-apis-lambda-authorizer-arn }
57+ arn : ${self:custom.authorizerArns.${opt:stage} }
5858 type : request
5959 resultTtlInSeconds : 0
6060 identitySource : method.request.header.Authorization
@@ -148,6 +148,10 @@ resources:
148148 - " arn:aws:s3:::${self:provider.environment.BUCKET_NAME}/*"
149149
150150custom :
151+ authorizerArns :
152+ development : arn:aws:lambda:eu-west-2:859159924354:function:api-auth-verify-token-new-development-apiauthverifytokennew
153+ staging : arn:aws:lambda:eu-west-2:715003523189:function:api-auth-verify-token-new-staging-apiauthverifytokennew
154+ production : arn:aws:lambda:eu-west-2:153306643385:function:api-auth-verify-token-new-production-apiauthverifytokennew
151155 corsDomains :
152156 staging :
153157 - " https://*.hackney.gov.uk"
You can’t perform that action at this time.
0 commit comments