Skip to content

Conversation

@bayoumymac
Copy link

Description

Recently aws ALB received support for lambdas as a target group, there are some advantages for using ALBs instead of apigw, a quick google search will show multiple articles about the topic

Motivation and Context

closes #598
with many people using alb events for lambdas, it will be really helpful to have alb emulation

How Has This Been Tested?

  • add a full integration example test

Screenshots (if appropriate):

requestContext: {
elb: {
targetGroupArn:
'arn:aws:elasticloadbalancing:us-east-1:550213415212:targetgroup/5811b5d6aff964cd50efa8596604c4e0/b49d49c443aa999f',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that this hardcoded value needs to be removed

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely, let's replace it with a dummy arn for target group

@yurist38
Copy link

Hi guys! This PR looks promising and is actually quite needed for the community. Shall we proceed with it?

requestContext: {
elb: {
targetGroupArn:
'arn:aws:elasticloadbalancing:us-east-1:550213415212:targetgroup/5811b5d6aff964cd50efa8596604c4e0/b49d49c443aa999f',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely, let's replace it with a dummy arn for target group

process.exit(1)
}

// TODO move the following block
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that supposed to be addressed in this PR?

@middric
Copy link

middric commented Oct 19, 2021

Is there any progress on this? Otherwise I'm happy to take it on

@dherault
Copy link
Owner

1 yo PR with conflicts, please feel free to reopen.

@dherault dherault closed this Apr 13, 2022
@dherault
Copy link
Owner

This is the author coming back to maintain his repo, sorry for the harsh decision.

@bayoumymac
Copy link
Author

bayoumymac commented Jul 30, 2022

Totally forgot I worked on this, Sometimes I wish github had messaging features. Anywho, happy to continue the work on this @dherault @yurist38 @pgrzesik

@yurist38
Copy link

Unfortunately I don't have enough capacity and context at the moment. So don't wait for me please.

ihendriks added a commit to ihendriks/serverless-offline that referenced this pull request Aug 1, 2022
ihendriks added a commit to ihendriks/serverless-offline that referenced this pull request Aug 2, 2022
ihendriks added a commit to ihendriks/serverless-offline that referenced this pull request Aug 2, 2022
ihendriks added a commit to ihendriks/serverless-offline that referenced this pull request Aug 9, 2022
ihendriks added a commit to ihendriks/serverless-offline that referenced this pull request Aug 12, 2022
ihendriks added a commit to ihendriks/serverless-offline that referenced this pull request Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for ALB to Lambda Integration

5 participants