This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Commit b78ccde
feat(webhook): Enable authorizer assignment to webhook (#4000)
We want to add a lambda authenticator to webhook API endpoint to
restrict requests by source IP address. To achieve this, the following
two options are possible:
1. add attributes to pass authorizer resource information to this
module,
2. or simply ignores changes related to authorizer of
`aws_apigatewayv2_route` resource,
However, 1. requires all informations to create
`aws_apigatewayv2_authorizer` and `aws_lambda_permission`, this is
little bit need consideration. Option 2. is, of cource, needs resouce
update by hand, however, the very simple to achieve by ignoring
attribute changes.
This PR aims to implement option 2.
---------
Co-authored-by: Niek Palm <[email protected]>1 parent 221958b commit b78ccde
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
17 | 27 | | |
18 | 28 | | |
19 | 29 | | |
| |||
0 commit comments