Install AWS cli on lambda function with custom runtime

44 views Asked by At

I've created a lambda function with custom runtime (provided.al2023) but I don't have aws cli installed. How can I installed it?

apt and yum ins not installed. dnf throws the following error: error: Failed to create: /var/cache/yum/metadata

I thought that AWS cli should be already installed on that machine but it doesn't.

Could anyone find a solution?

0

There are 0 answers