spinnaker-plugins / aws-lambda-deployment-plugin-spinnaker

Spinnaker plugin to support deployment of AWS Lambda functions via Spinnaker pipelines
Apache License 2.0
23 stars 22 forks source link

API Gateway as an event trigger option #55

Open away168 opened 3 years ago

away168 commented 3 years ago

Currently, as of version 1.0.1 in the deploy stage or route stage, only a few event triggers (like SQS) are allowed.

This is a request to support API Gateway as an event trigger

this has been requested by various companies we've demo'd the functionality to

shyamsfo commented 3 years ago

My initial opinion on this is that it should be a feature of a (yet non-existent) API gateway plugin to lambda, rather than a feature of the lambda plugin. The configuration on SQS, SNS are straight-forward enough (just fill up an ARN) to leave it as part of lambda, but for API gateway, there seems to be too many configuration to have this as part of lambda. Another alternative is, perhaps we need a new stage in this plugin that exclusively manages all event triggers including SQS, SNS, API Gateway etc.