32,069 questions
2
votes
0
answers
26
views
Failed to stabilize error for lambda deployment via CDK golang
While running cdk deploy...
Resource handler returned message: "Lambda function AB-CD-ApplyAllConfig-unique2 reached terminal FAILED state due to InternalError(An error occurred during the last ...
0
votes
0
answers
23
views
AWS Lambda: Runtime.ImportModuleError: /var/task/psycopg2/_psycopg.so: file too short after copying psycopg2 folder
I'm trying to use psycopg2 in an AWS Lambda function (Python 3.11 runtime).
I followed the jkehler/awslambda-psycopg2
repository and copied the psycopg2-3.11 folders directly into my Lambda deployment ...
0
votes
0
answers
23
views
In Remotion, Image Crop option is not working
I'm trying to generate a video using remotion library.
I have used the following two images
I have cropped the top option of image and places it on after another vertically. Please check the following ...
0
votes
0
answers
46
views
How can I generate and serve NDVI map tiles efficiently in AWS Lambda using rio-tiler? [closed]
I am trying to use AWS Lambda to process Sentinel-2 NDVI GeoTIFFs and generate tiles that can be displayed in a Leaflet map.
My goal is to create a fast, lightweight function that:
Reads a GeoTIFF (...
-4
votes
0
answers
25
views
How can we play with challenge-versions headers in Face Liveness of aws?
I’m currently trying to automate a site that uses AWS-hosted face verification. To work on this, I created my own site that hosts the same face liveness app. The official documentation I followed is ...
-1
votes
1
answer
43
views
How to automatically extract AWS Lambda configurations to Terraform for GCP migration? [closed]
I'm migrating multiple AWS Lambda functions to GCP and need to generate Terraform configurations that match the existing AWS setup. Currently, I'm manually writing each Lambda configuration, which is ...
0
votes
0
answers
48
views
AWS Lambda + SSM RunCommand returns stale GetLastInputInfo() timestamp on Windows EC2
I’m working on an AWS setup where I need to detect last user activity (keyboard/mouse input) on a Windows EC2 instance.
Inside the instance, if I run this PowerShell snippet directly, it works ...
-2
votes
0
answers
56
views
Is resourceGroupName in lambda an anti pattern?
I was hitting a circular dependency issue in the use of Lambda as my Lambda function wanted to use Graphql.
I was told by the Amplify documentation that the solution was resourceGroupName added to my ...
0
votes
1
answer
48
views
Terraform lambda runtime management config: Fetch ALL lambda's ARN's
Hi I am working on something very simple
I am creating a lambda runtime management config to manage all my lambda. I have around 9 existing ones.
resource "aws_lambda_runtime_management_config&...
2
votes
1
answer
92
views
Remotion Video has audio quality issue
I'm trying to generate a video using remotion library.
We can combine the video and text and generate an new video.
I used to place the text at the bottom of the video and generate an video.
Scenario ...
0
votes
0
answers
17
views
Bundling files with a lambda function in Amplify Gen2
I am trying to reference a directory of files in a lambda function using Amplify Gen2. I have created the folder in /functions/validateJsonAgainstSchema with the handler.ts file
import Ajv2020 from '...
1
vote
1
answer
46
views
What does "GB-seconds" describe in Cloud Computing (Function as a Service)?
AWS defines its prices for lambda in terms of GB-seconds, and so does Azure for its prices for functions.
What does that unit refer to? Are those Gigabytes of memory allocated for a number of seconds?
1
vote
1
answer
109
views
takeWhile equivalent for Kotlin maps
My Kotlin project needs to parse files and keep track of the outcome:
fun parseFiles(dp:MyDataProvider, files:List<String>)
{
//store the status of each processed file
val statusMap = ...
0
votes
1
answer
105
views
AWS Lambda container (aws-nuke) exits with Runtime.ExitError even though process returns exit code 0 [closed]
I have aws-nuke running on Lambda using a container. aws-nuke is returning exit code 0, but the Lambda returns Runtime.ExitError
Cloud watch logs:
...
Scan complete: 221 total, 0 nukeable, 221 ...
2
votes
1
answer
34
views
Duplicated execution in node lambda function coldstar
Let the following lambda handler:
export const handler = async (event:any) => {
console.log("[PROCESS] Starting process");
return {status: "OK"};
}
And when executed ...