Score:1

Is there a 1:1 correspondence between CodeDeploy applications and a Lambda?

kg flag

We're investigating CodeDeploy for automating deployments of a service that is comprised of:

  • Multiple Lambdas, with some triggered by SQS queues and others accepting HTTP requests via API Gateway
  • API Gateway
  • SQS queues

The question I have is actually rather simple - is there a 1:1 correspondence between a CodeDeploy application and a Lambda, or can a CodeDeploy application be comprised of multiple Lambdas? Because a release of our code base would usually impact multiple Lambdas that make up the service, so we would want to perform a rolling deployment of those Lambdas as a single action.

Oscar De León avatar
la flag
I haven't tried a scenario like yours, but I might suggest you could use a codepipeline that deploys to a cloudformation stack with the multiple lambdas you need and pull the code from the repo for each.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.