File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ resource "aws_api_gateway_vpc_link" "this" {
62
62
}
63
63
64
64
resource "aws_api_gateway_method" "this" {
65
- count = var. enable_api_gateway ? 1 : 0
65
+ count = var. enable_api_gateway ? 1 : 0
66
66
http_method = " ANY"
67
67
resource_id = aws_api_gateway_resource. this [0 ]. id
68
68
rest_api_id = aws_api_gateway_rest_api. this [0 ]. id
@@ -75,7 +75,7 @@ resource "aws_api_gateway_method" "this" {
75
75
}
76
76
77
77
resource "aws_api_gateway_method" "db" {
78
- count = var. enable_api_gateway ? 1 : 0
78
+ count = var. enable_api_gateway ? 1 : 0
79
79
http_method = " GET"
80
80
resource_id = aws_api_gateway_resource. db [0 ]. id
81
81
rest_api_id = aws_api_gateway_rest_api. this [0 ]. id
@@ -159,7 +159,7 @@ resource "aws_api_gateway_deployment" "this" {
159
159
}
160
160
161
161
resource "aws_api_gateway_stage" "this" {
162
- count = var. enable_api_gateway ? 1 : 0
162
+ count = var. enable_api_gateway ? 1 : 0
163
163
deployment_id = aws_api_gateway_deployment. this [0 ]. id
164
164
rest_api_id = aws_api_gateway_rest_api. this [0 ]. id
165
165
stage_name = local. api_gateway_stage_name
You can’t perform that action at this time.
0 commit comments