Skip to content

Commit 0ca550e

Browse files
author
Erin-Boehmer
committed
Format api-gateway.tf file
1 parent 5b217f4 commit 0ca550e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/metadata-service/api-gateway.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ resource "aws_api_gateway_vpc_link" "this" {
6262
}
6363

6464
resource "aws_api_gateway_method" "this" {
65-
count = var.enable_api_gateway ? 1 : 0
65+
count = var.enable_api_gateway ? 1 : 0
6666
http_method = "ANY"
6767
resource_id = aws_api_gateway_resource.this[0].id
6868
rest_api_id = aws_api_gateway_rest_api.this[0].id
@@ -75,7 +75,7 @@ resource "aws_api_gateway_method" "this" {
7575
}
7676

7777
resource "aws_api_gateway_method" "db" {
78-
count = var.enable_api_gateway ? 1 : 0
78+
count = var.enable_api_gateway ? 1 : 0
7979
http_method = "GET"
8080
resource_id = aws_api_gateway_resource.db[0].id
8181
rest_api_id = aws_api_gateway_rest_api.this[0].id
@@ -159,7 +159,7 @@ resource "aws_api_gateway_deployment" "this" {
159159
}
160160

161161
resource "aws_api_gateway_stage" "this" {
162-
count = var.enable_api_gateway ? 1 : 0
162+
count = var.enable_api_gateway ? 1 : 0
163163
deployment_id = aws_api_gateway_deployment.this[0].id
164164
rest_api_id = aws_api_gateway_rest_api.this[0].id
165165
stage_name = local.api_gateway_stage_name

0 commit comments

Comments
 (0)