diff --git a/services/app-api/serverless.yml b/services/app-api/serverless.yml index 4f18b2d308..abb3d73f1b 100644 --- a/services/app-api/serverless.yml +++ b/services/app-api/serverless.yml @@ -197,18 +197,6 @@ functions: method: get cors: true authorizer: aws_iam - timeout: 60 # aurora cold start can be long - vpc: - securityGroupIds: - - ${self:custom.sgId} - subnetIds: ${self:custom.privateSubnets} - layers: - - !Ref PrismaClientEngineLambdaLayer - - arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-nodejs-amd64-ver-1-18-1:1 - - graphql_external: - handler: src/handlers/apollo_gql.graphqlHandler - events: - http: path: v1/graphql/external method: post @@ -230,7 +218,8 @@ functions: subnetIds: ${self:custom.privateSubnets} layers: - !Ref PrismaClientEngineLambdaLayer - + - arn:aws:lambda:us-east-1:901920570463:layer:aws-otel-nodejs-amd64-ver-1-18-1:1 + migrate: handler: src/handlers/postgres_migrate.main timeout: 60