File tree Expand file tree Collapse file tree 3 files changed +10
-28
lines changed Expand file tree Collapse file tree 3 files changed +10
-28
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ output "api_gw_gateway_stage" {
22
22
}
23
23
}
24
24
25
- # output "api_gw_routes_to_be_integrated" {
26
-
27
- # }
25
+ output "api_gw_integration_proxy_to_alb" {
26
+ description = " API Gateway Integration Proxy to ALB"
27
+ value = {
28
+ " api_id" : aws_apigatewayv2_integration.proxy_to_alb.api_id
29
+ " description" : aws_apigatewayv2_integration.proxy_to_alb.description
30
+ " id" : aws_apigatewayv2_integration.proxy_to_alb.id
31
+ " integration_type" : aws_apigatewayv2_integration.proxy_to_alb.integration_type
32
+ }
33
+ }
Original file line number Diff line number Diff line change @@ -5,30 +5,6 @@ resource "aws_apigatewayv2_route" "debug_route" {
5
5
target = " integrations/${ aws_apigatewayv2_integration . debug_integration . id } "
6
6
}
7
7
8
-
9
- resource "aws_apigatewayv2_route" "client_identification" {
10
- api_id = aws_apigatewayv2_api. main . id
11
- route_key = " POST /identification/clients/identification"
12
-
13
- // Identification Lambda integration
14
- }
15
-
16
- resource "aws_apigatewayv2_route" "order_checkout_and_listing" {
17
- api_id = aws_apigatewayv2_api. main . id
18
- route_key = " ANY /order/orders" // due to Servlet Filter urlPatterns not supporting specific HTTP methods
19
-
20
- // Client Lambda Authorizer authorization
21
- target = " integrations/${ aws_apigatewayv2_integration . proxy_to_alb . id } "
22
- }
23
-
24
- resource "aws_apigatewayv2_route" "order_confirmation" {
25
- api_id = aws_apigatewayv2_api. main . id
26
- route_key = " POST /payment/payments/initialize"
27
-
28
- // Client Lambda Authorizer authorization
29
- target = " integrations/${ aws_apigatewayv2_integration . proxy_to_alb . id } "
30
- }
31
-
32
8
resource "aws_apigatewayv2_route" "forward_to_alb_route" {
33
9
api_id = aws_apigatewayv2_api. main . id
34
10
route_key = " ANY /{proxy+}"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ resource "aws_flow_log" "vpc" {
28
28
29
29
# tfsec:ignore:aws-cloudwatch-log-group-customer-key
30
30
resource "aws_cloudwatch_log_group" "vpc_flow_log" {
31
- name = " /aws/apigateway /SOAT-TC_VPC_Flow_Logs"
31
+ name = " /aws/vpc /SOAT-TC_VPC_Flow_Logs"
32
32
retention_in_days = 30
33
33
34
34
tags = {
You can’t perform that action at this time.
0 commit comments