Questions tagged [serverless]
Serverless computing is a cloud computing execution model in which the cloud provider dynamically manages the allocation of machine resources. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity. It is a form of utility computing.
serverless
3,576
questions
0
votes
0
answers
12
views
Serverless deployment to new stage fails with non existent IAM Policy error
I have a serverless definition, that is working, when deploying to existing stages:
service: appcode-graphql
frameworkVersion: "3"
variablesResolutionMode: 20210326
useDotenv: true
...
0
votes
0
answers
20
views
how to actually implement a serverless function on Vercel for Vite code for production environment?
My code works perfectly fine using Vercel Dev, and a Postman request to the API route, but still, it says "Error: Error: Failed to fetch response."
I think the error may be a wrong fetch ...
-1
votes
1
answer
47
views
+300
Twilio - Push notifications fail in serverless production deployment
I have an Twilio programmable messaging app which is deployed in a Twilio serverless environment.
let response = new Twilio.Response();
exports.handler = async function(context, event, callback) {
...
0
votes
1
answer
57
views
Hosting a .NET Minimal API in Azure Function
I want to integrate my minimal ASP.NET Core APIs into an Azure Function. While I can do this using the Amazon.Lambda.AspNetCoreServer.Hosting 1.7.0 package in AWS, I'm currently unable to find a way ...
0
votes
0
answers
13
views
Mongoose populate is breaking my Serverless application when upgrading to Node JS 20X
I have a REST API that I'm migrating from Node16 to Node20 in Serverless.
Everything works fine except the populate method for my queries.
Im using:
[email protected]
[email protected]
node v20.15.1
This ...
-1
votes
0
answers
37
views
Thread execution inside aws lamda
I am having an lamda function that is calling for creating a excel.
When call hit first thing i am creating an entry in status table and returning status id as response
I have a poll api that can be ...
-1
votes
1
answer
30
views
Error: The pattern `api/email.js` defined in functions doesn't match any Serverless Functions inside the `api` directory (Vercel/Remix-run)
email.js serverless function generated by chatgpt in my root/api/email.js directory:
//[root]/api/email.js
//just a test function generated by chatgpt
import sendEmail from "../utils/email";
...
0
votes
1
answer
27
views
Why is serverless including the stage name in the service's URL?
I have a project that uses httpApi (API Gateway V2). However, if I understand correctly, only version 1 of the API Gateway supports gzip compression.
Is that correct?
If so, this leaves me a bit ...
0
votes
0
answers
71
views
Error:Configuration file not found in directory “/” for command serverless config
I am deploying an Express.js application using the Serverless framework on AWS, but the command below is giving an error
Command :
$serverless config credentilas --provider aws --key XXXXXX --secret
...
0
votes
1
answer
26
views
Lambda Provisioned Concurrency showing 0 available. But I'm not using any
I have been using my AWS account for more than 4 months. Now, I need to create a Lambda function with provisioned concurrency. However, it gives the following error:
```The maximum allowed provisioned ...
0
votes
0
answers
20
views
how to add authorizer for a aws serverless NodeJS application
I have created the nodejs rest api using serverless framework. The application is very similar to the below template. I have created a custom authentication as a separate service i want include that ...
-1
votes
0
answers
38
views
Unable to import app.app with serverless and flask
I'm getting an error showing like this when I test my API with AWS lambda. I created this api using python flask and severless
{
"errorMessage": "Unable to import app.app", "...
0
votes
1
answer
20
views
Serverless Framework Adding Layer with IAM
my functions requirements are:
const puppeteer = require('puppeteer');
const { cache } = require('./redisHelper');
and heres my serverless.yml file:
handler: workers/myworker.handler
timeout: ...
1
vote
1
answer
35
views
Serverless WebSocket Service for Real-Time Stock Data Processing
I'm looking for a serverless service that can be utilized as a socket API backend client. For example, if I have a stock-based socket API that provides real-time data on stock LTP (Last Traded Price), ...
1
vote
1
answer
45
views
Serverless deploy fails due to no such file "core-cloudformation-template.json"
I'm trying to deploy an AWS infastructure using serverless framework. When executed the deploy command it returns ENOENT: no such file or directory, open '/home/node/.serverless/releases/4.1.6/package/...