Skip to content

Commit 55898b8

Browse files
committed
NRL-753 fix apply
1 parent 6d3a653 commit 55898b8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

terraform/infrastructure/modules/api_gateway/api_gateway.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff 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

2124
resource "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

0 commit comments

Comments
 (0)