Skip to content

Commit b35dc85

Browse files
authored
Merge pull request #7 from mxfactorial/feature/vpc-endpoint
vpc endpoint user delight
2 parents 71f0150 + c776134 commit b35dc85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ resource "aws_ecs_service" "service" {
5252
field = lookup(ordered_placement_strategy.value, "field", null)
5353
}
5454
}
55-
health_check_grace_period_seconds = var.health_check_grace_period_seconds
55+
health_check_grace_period_seconds = var.health_check_grace_period_seconds
5656
dynamic "placement_constraints" {
5757
for_each = var.placement_constraints
5858
content {
@@ -70,7 +70,7 @@ resource "aws_ecs_service" "service" {
7070
}
7171
}
7272
network_configuration {
73-
security_groups =[aws_security_group.ecs_tasks_sg.id]
73+
security_groups = concat([aws_security_group.ecs_tasks_sg.id], var.security_groups)
7474
subnets = var.private_subnets
7575
assign_public_ip = var.assign_public_ip
7676
}

0 commit comments

Comments
 (0)