Does this work with Ruby runtimes?
Closed this issue · 5 comments
Forgive my ignorance. I’m trying to figure how to add aws s3 cli as a layer to my ruby function. Im not exactly sure how to package and deploy these things so I wanted to make sure - does this work with Ruby 2.5 or Ruby 2.7 runtime?
Forgive my ignorance. I’m trying to figure how to add aws s3 cli as a layer to my ruby function. Im not exactly sure how to package and deploy these things so I wanted to make sure - does this work with Ruby 2.5 or Ruby 2.7 runtime?
This layer is designed for custom runtime, but it's also possible for other runtimes as long as you can execute the /opt/awscli/aws
from the runtime environment.
When you attach this layer to the runtime, /opt/awscli
will be mounted to your runtime environment and you can execute any executable under /opt/awscli
.
However, as we didn't test the Ruby runtimes and it's primarily designed for custom runtime only. You will need to build your own layer and test it.
Thanks for the info. I got it to build and installed as a layer. I then was able to call it with /opt/awscli/aws
but I get the following error.
/opt/awscli/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
I was able to get it to work with your awscli-v2-python37 branch with both python and ruby runtimes!
One weird thing is that the ffmpeg in the python runtime is almost twice as fast as the ruby runtime and they are using the same FFMPEG layer! So weird!
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen.