aws-samples/aws-lambda-efs-samples

3-largefiles has layers ARN hardcoded

mightyhorst opened this issue · 3 comments

In the 3-large files example you have hard coded a layer resource in the template.yml

 resource: arn:aws:lambda:us-east-1:780018668030:layer:ffmpeg:1

What should the ID: 780018668030 be changed to if running dynamically? Is that the lamda ID?

jbesw commented

This is a publicly shared layer to help readers use the proof-of-concept application with EFS. I think it's a great idea to start a repo showing how to build this layer, but I'd recommend this as a separate project. In the resource ID, the number you highlighted is the AWS account ID where the layer is sourced from.

OK makes sense. I get permission denied for that layer btw, so made a workaround.

jbesw commented

Thanks for the heads-up! I'll check this out when I get back on Monday.