https://pulumi.com logo
Title
n

nutritious-shampoo-16116

02/24/2023, 4:37 PM
is there a way to instruct pulumi on how it can pack a lambda function built with Rust? the doc states
Any of the supported Lambda runtimes can be used, including Node.js (as shown here), Python, Ruby, Java, Go, and .NET.
But I don't see any mention about custom provided runtimes
b

brave-planet-10645

02/24/2023, 4:49 PM
You need to set the runtime to be
provided
or
provided.al2
n

nutritious-shampoo-16116

02/24/2023, 5:28 PM
cool, but is there any way to instruct pulumi how to pack a lambda with a rust runtime? I need to build and compile it before zipping it
b

brave-planet-10645

02/27/2023, 11:28 AM
You could use the command provider: https://www.pulumi.com/registry/packages/command/ to run the necessary commands
n

nutritious-shampoo-16116

02/27/2023, 2:17 PM
that's neat, thanks!