Skip to content

Commit

Permalink
add custom authorization for access to lambda authorizer
Browse files Browse the repository at this point in the history
  • Loading branch information
solomon-negusse committed May 23, 2024
1 parent 5dbab21 commit 3cb83d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/api_gateway/gateway/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module "query_get" {

require_api_key = true
http_method = "GET"
authorization = "NONE"
authorization = "CUSTOM"

integration_parameters = {
"integration.request.path.version" = "method.request.path.version"
Expand All @@ -75,7 +75,7 @@ module "query_post" {

require_api_key = true
http_method = "POST"
authorization = "NONE"
authorization = "CUSTOM"

integration_parameters = {
"integration.request.path.version" = "method.request.path.version"
Expand Down

0 comments on commit 3cb83d7

Please sign in to comment.