Skip to content

Commit e6fb1d6

Browse files
author
rohit-ng
committed
chore: add spacing for readability
1 parent 733d950 commit e6fb1d6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

main.tf

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ module "postgres_security_group" {
4040
protocol = "-1"
4141
cidr_blocks = "0.0.0.0/0"
4242
}, ]
43+
4344
tags = local.default_tags
4445
}
4546

@@ -107,6 +108,7 @@ module "internal_alb_security_group" {
107108
protocol = "-1"
108109
cidr_blocks = "0.0.0.0/0"
109110
}, ]
111+
110112
tags = local.default_tags
111113
}
112114

@@ -136,6 +138,7 @@ module "public_alb_security_group" {
136138
protocol = "-1"
137139
cidr_blocks = "0.0.0.0/0"
138140
}, ]
141+
139142
tags = local.default_tags
140143
}
141144

@@ -164,6 +167,7 @@ module "ecs_task_security_group" {
164167
protocol = "-1"
165168
cidr_blocks = "0.0.0.0/0"
166169
}, ]
170+
167171
tags = local.default_tags
168172
}
169173

@@ -172,7 +176,8 @@ module "ecs_task_security_group" {
172176
################################################################################
173177

174178
module "ecs_exec_role" {
175-
source = "./modules/iam"
179+
source = "./modules/iam"
180+
176181
name_prefix = local.ecs.iam.name_prefix
177182
principal_type = local.ecs.iam.principal_type
178183
principal_identifiers = local.ecs.iam.principal_identifiers
@@ -198,6 +203,7 @@ module "ecs_kong" {
198203
name = local.kong.service_name
199204
desired_count = var.desired_count_for_kong_service
200205
force_new_deployment = var.force_new_deployment
206+
201207
load_balancer = [
202208
{
203209
target_group_arn = module.internal_alb_kong.target_groups_arns[local.kong.internal_target_group]
@@ -210,6 +216,7 @@ module "ecs_kong" {
210216
container_port = local.kong.proxy_port
211217
}
212218
]
219+
213220
network_configuration = {
214221
subnets = var.private_subnet_ids
215222
security_groups = [module.ecs_task_security_group.security_group_id]
@@ -271,6 +278,7 @@ module "ecs_kong" {
271278
subnets_ids = var.public_subnet_ids
272279
security_groups_ids = [module.public_alb_security_group.security_group_id]
273280
enable_deletion_protection = false
281+
274282
target_groups = {
275283
(local.kong.public_target_group) = {
276284
name = "${local.kong.name}-public"
@@ -289,6 +297,7 @@ module "ecs_kong" {
289297
}
290298
}
291299
}
300+
292301
listeners = {
293302
kong_https = {
294303
port = 443
@@ -328,6 +337,7 @@ module "internal_alb_kong" {
328337
subnets_ids = var.private_subnet_ids
329338
security_groups_ids = [module.internal_alb_security_group.security_group_id]
330339
enable_deletion_protection = false
340+
331341
target_groups = {
332342
(local.kong.internal_target_group) = {
333343
name = "${local.kong.name}-internal"
@@ -347,6 +357,7 @@ module "internal_alb_kong" {
347357
}
348358
}
349359
}
360+
350361
listeners = {
351362
kong_http = {
352363
port = 80
@@ -399,7 +410,8 @@ module "kong_internal_dns_record" {
399410
################################################################################
400411

401412
module "github_runner" {
402-
source = "./modules/github-runner"
413+
source = "./modules/github-runner"
414+
403415
vpc_id = var.vpc_id
404416
private_subnet_id = var.private_subnet_ids[0]
405417
github_org = local.github.org

0 commit comments

Comments
 (0)