We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5769377 commit d086afcCopy full SHA for d086afc
terraform/modules/ecs/main.tf
@@ -98,7 +98,7 @@ resource "aws_ecs_service" "frontend" {
98
launch_type = "FARGATE"
99
100
network_configuration {
101
- subnets = var.public_subnet_ids
+ subnets = var.private_subnet_ids
102
security_groups = [var.frontend_sg_id, var.alb_sg_id]
103
assign_public_ip = true
104
}
@@ -131,10 +131,6 @@ resource "aws_ecs_service" "backend" {
131
container_port = 3000
132
133
134
- # service_registries {
135
- # registry_arn = var.backend_service_arn
136
- # }
137
-
138
enable_execute_command = true
139
140
0 commit comments