Skip to content

Commit

Permalink
Fixed assigned sec group
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Aug 7, 2024
1 parent f6471ad commit e31ea2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion infrastructure/cloud/environments/dev/webapp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module "container" {
region = var.region
ecs_execution_role_arn = module.security.ecs_execution_role_arn
subnet_ids = module.networking.web_subnets_ids
sg_id = module.networking.sg_id
sg_id = module.networking.ecs_sg_id
lb_tg_arn = module.networking.lb_tg_arn
ecs_web_td_log_group_name = module.monitoring.ecs_web_td_log_group_name
depends_on = [module.monitoring]
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/cloud/modules/networking/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ output "lb_tg_arn" {
value = aws_lb_target_group.lb_target_group.arn
}

# output "private_subnets_web" {
# value = [aws_subnet.private_subnets_web[0].id, aws_subnet.private_subnets_web[1].id]
# }
output "ecs_sg_id" {
value = aws_security_group.ecs_sg.id
}

output "web_subnets_ids" {
value = local.web_subnets
Expand Down

0 comments on commit e31ea2e

Please sign in to comment.