Skip to content

cal-overflow/serverless-security-system-process-s3-videos-lambda-fn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Processing Lambda Function

This lambda function is for the serverless-security-system.

The function parses over the contents of a given S3 bucket. The function will remove clips that do not include any motion.

Helpful docs

Run container

docker run <tag_name>

Environment variables (required)

  • S3_BUCKET: The (unique) name of the S3 bucket to parse

Setup (for deploying this image to ECR registry)

1. Create an IAM Role

In your AWS Account, create a new IAM Role with the permissions you deem necessary. The role must include permissions to create/update/delete resources in the following services.

2. Configure OpenID to connect AWS and GitHub Actions

Refer to GitHub's docs for Configuring OpenID Connect in AWS for guidance.

3. Repository secrets

Add the following secrets via Repository settings > Secrets > Actions.

  • IAM_ROLE_ARN containing your IAM Role ARN from step 1.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published