mthenw / serverless-go-plugin

⚡️ Serverless Framework plugin that compiles Go functions on the fly. Sponsored by https://cloudash.dev
https://cloudash.dev
MIT License
103 stars 17 forks source link

Add ability to exclude functions (eg when using Container Images) #54

Closed AnalogJ closed 3 months ago

AnalogJ commented 4 months ago

When a function image is provided, the go plugin should not attempt to compile code (as the handler key is missing). https://www.serverless.com/blog/container-support-for-lambda

an Exclude key, similar to the newrelic plugin, would be ideal.

OranShuster commented 4 months ago

We have a mix of containerized and compiled go code. I don't see the plugin trying to compile our containerized functions can you share a config of a function that is being compiled on deploy/package?

mthenw commented 3 months ago

Fixed with the above PR