Skip to content

Commit

Permalink
disable apikey for api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
varunkumar139 committed Jan 17, 2025
1 parent d83cad5 commit 59410ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ resource "aws_api_gateway_method" "proxy" {
resource_id = aws_api_gateway_resource.proxy.id
http_method = "ANY"
authorization = "NONE"
api_key_required = true
api_key_required = false

request_parameters = {
"method.request.path.proxy" = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource "aws_api_gateway_method" "sqs_mapps_method" {
resource_id = aws_api_gateway_resource.sqs_mapps_resource.id
http_method = "GET"
authorization = "NONE"
api_key_required = true
api_key_required = false

depends_on = [
aws_api_gateway_rest_api.api_gateway,
Expand Down

0 comments on commit 59410ff

Please sign in to comment.