Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow ApiGatewayV2 proxy resources without lambdas #1625

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

iuwqyir
Copy link

@iuwqyir iuwqyir commented Dec 7, 2022

Description

  • Adds ApiGatewayV2 proxy resource parsing
  • Adds headers support for AWS::ApiGatewayV2::Integration
  • Adds resourceRoutes.force configuration parameter that enables adding proxies without lambda functions.

Motivation and Context

There is no reason that proxies must only be used with lambdas, because they work fine without them.
I use ApiGatewayV2 proxies as a simple proxy layer that does authorization or passes on authorization headers. Problem was that it was not supported by serverless-offline

How Has This Been Tested?

Ran all tests in the repository
Have been using in my projects on a Macbook
All changes are backwards compatible, do not need any changes elsewhere

Screenshots (if appropriate):

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.

None yet

1 participant