115 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
21
views
CredentialsProviderError using ApiGatewayManagementApiClient in Serverless Framework Offline
I'm having issues trying to get Serverless Framework (using the Offline plugin) to be able to use the ApiGatewayManagementApiClient to send WebSocket responses offline.
It's probably just using the ...
0
votes
0
answers
38
views
Serverless Offline with EventBridge Scheduler Error: The execution role you provide must allow AWS EventBridge Scheduler to assume the role
As the title says, I'm encountering this error when running in SLS Offline. I just want to confirm if EventBridge Scheduler really isn't supported by SLS Offline?
resources.ts
export const resources = ...
-1
votes
1
answer
416
views
Serverless v4 with offline : typescript handlers are not build
I have a problem migrationg my big app in serverless v3 to v4. I'm using typescript and I develop in local using serverless-offline.
But after change all configurations introduced by v4 and run sls ...
1
vote
0
answers
84
views
Serverless offline not logging to console with golang
When using serverless offline, logs aren't logged to console instead returned as an HTTP response when triggered as an endpoint
serverless.yml
service: go-sls # Define your service name
provider:
...
1
vote
1
answer
131
views
Serverless Offline is using the environment variables from actual AWS SSM instead of local .env file
I have a Nest JS Lambda backend and I am using serverless-offline module to run it locally and connect to my local Postgres database.
My serverless.yml file looks like
service: wbx-borrower-onboarding-...
0
votes
0
answers
39
views
is there any other way to upload image file in local path location using python lambda function without using flask without getting encoding errors?
---
import re
def extract_file_content(event):
if isinstance(event['body'], str):
try:
file_content = event['body'].encode('utf-8', errors='ignore')
except ...
0
votes
1
answer
561
views
Serverless offline failing to start with serverless-offline-sns
I am getting this error trying to run serverless offline:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/mypc/Downloads/textai/src/functions/processExpenseAnalysisJob.js' imported from /home/...
0
votes
1
answer
335
views
AWS lambda invocation locally
I have SQS -> triggers a lambda(code that needs to be tested) -> where its workflow -> can trigger other lambdas in multiple API Gateways (already deployed in AWS)
Is there a way I can ...
-1
votes
1
answer
466
views
Serverless Offline: Route Not Found" Error Despite Correct Configuration
Hello Stack Overflow community,
I'm facing an issue with the Serverless Framework and the serverless-offline plugin where I'm getting a "route not found" error despite having the correct ...
2
votes
1
answer
17k
views
Serverless Offline - Attempt to invoke function 'xxx' failed. Function does not exists
Hello :) Hope to find you well.
I am trying to set test my serverless environment locally via the serverless-offline node package.
Here is my serverless.yml file:
org: etisreal11
app: leaderboards-api
...
1
vote
1
answer
774
views
Local Development of Lambda Functions
I have a certain number of APIs which are being migrated to AWS. These APIs are based on Nest.js and for local development, I simply run the application which bootstraps a web server and I can invoke ...
1
vote
4
answers
375
views
detect is localhost AWS Serverless framework
i'm running my serverless with serverless offline library, i'm running using sls offline and i have several. how i detect is my lambda API triggered from localhost or server? thank you
i already try ...
1
vote
1
answer
717
views
How to pass custom cli commands to serverless-offline?
I am migrating a serverless application to it's most recent versions.
This is the starting point:
"devDependencies": {
"serverless": "^2.43.1",
"serverless-...
7
votes
0
answers
2k
views
Serverless-offline Lambda timeout 504
I am serving local NestJS backend using serverless-offline plugin. Sometimes it serves and runs without any issues but sometimes I receive ×ばつ [504] - Lambda timeout" error in terminal after ...
1
vote
1
answer
1k
views
Cannot use import statement outside a module in serverless node application
I'm currently converting a serverless AWS lambda microservices API over to typescript. I'm hoping I can maintain the existing js files while adding more ts files as we move on. I'm having some trouble ...