This message was deleted.
# getting-started
s
This message was deleted.
q
I don't know GCP well but it looks like the GCP CloudFunctions and AWS Lambdas are similarly related. They'll have a limited run time since they're meant for small tasks. Thus they probably won't be able to run NestJS, however, from the way the GCP API's are written, you could maybe integrate a Gateway API endpoint to a GCP CloudFunction. Sorry I'm not much help because I don't really use GCP.
m
hmm ok yeah maybe NestJS isn’t the best choice. I guess my question is more around how to separate the infrastructure (pulumi) code and the app code. I have just seen there are 2 types of gcp function types : Function and HttpCallbackFunction. With HttpCallbackFunction Pulumi provides a callback to handle the logic. With Function you can specify an entryPoint. I’m wondering what the best one to use is and can I use HttpCallbackFunction and reference a Express app from another file
Generally speaking, you should bundle things together as you need them.