sst / ion

SST v3
https://sst.dev
MIT License
1.97k stars 227 forks source link

Feat: Container runtime for functions #640

Open rayli09 opened 3 months ago

rayli09 commented 3 months ago

Context

V2 supports container runtime for functions, which was crucial to monorepo setup with multiple micro-services in different language runtimes. However we're considering migrating to ion but found container runtime isn't supported yet.

We do see that ion supports all pulumi providers, does that mean we can use pulumi's aws provider to setup lambda functions with container runtime as a temporary workaround?

jayair commented 3 months ago

Yeah for sure, that's the work around

affanshahid commented 2 months ago

New to SST can you share an example of how to go about using the pulumi provider to setup the lambda with SST?

toughrogrammer commented 1 week ago

i also wonder when this is supported

rayli09 commented 1 week ago

For future reader, follow this example from pulumi to setup lambda w/ container runtime.

When sst supports fn w/ containers, migration should be pretty cheap