File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
terraform/infrastructure/modules/api_gateway Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ resource "aws_api_gateway_method" "capability" {
1616 resource_id = aws_api_gateway_resource. capability . id
1717 http_method = " GET"
1818 authorization = " NONE"
19+ request_parameters = {
20+ " method.request.header.Authorization" = false
21+ }
1922}
2023
2124resource "aws_api_gateway_integration" "capability" {
@@ -60,7 +63,12 @@ resource "aws_api_gateway_deployment" "api_gateway_deployment" {
6063 }
6164
6265 depends_on = [
63- aws_api_gateway_rest_api . api_gateway_rest_api
66+ aws_api_gateway_rest_api . api_gateway_rest_api ,
67+ aws_api_gateway_resource . capability ,
68+ aws_api_gateway_method . capability ,
69+ aws_api_gateway_integration . capability ,
70+ aws_api_gateway_method_response . capability_200 ,
71+ aws_api_gateway_integration_response . capability
6472 ]
6573}
6674
You can’t perform that action at this time.
0 commit comments