mediainfo_aws_lambda icon indicating copy to clipboard operation
mediainfo_aws_lambda copied to clipboard

Possible using AWS SAM or CloudFormation?

Open hristod opened this issue 5 years ago • 1 comments

I was wondering if this is possible to build using CloudFormation or AWS SAM. I'm currently learning SAM, and I am not experienced enough to be able to answer the question myself :) I am wondering particularly about building MediaInfo as a Lambda layer and publishing it on AWS in a SAM/CloudFormation template using a makefile.

Cheers!

hristod avatar Nov 24 '20 07:11 hristod

I think you're confusing some semantics. It is not possible to "build" (i.e. compile) a lambda layer with CloudFormation. Rather, CloudFormation is used to "deploy" source code to AWS Lambda, and it allows you to specify an existing Lambda layer with the Lambda function definition. Here's a reference for that:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers

iandow avatar Nov 25 '20 21:11 iandow