|
| 1 | +output "lb_lb" { |
| 2 | + description = "ALB" |
| 3 | + value = { |
| 4 | + "arn" : aws_lb.main.arn |
| 5 | + "arn_suffix" : aws_lb.main.arn_suffix |
| 6 | + "dns_name" : aws_lb.main.dns_name |
| 7 | + "id" : aws_lb.main.id |
| 8 | + "internal" : aws_lb.main.internal |
| 9 | + "ip_address_type" : aws_lb.main.ip_address_type |
| 10 | + "load_balancer_type" : aws_lb.main.load_balancer_type |
| 11 | + "name" : aws_lb.main.name |
| 12 | + "security_groups" : aws_lb.main.security_groups |
| 13 | + "subnet_mapping" : aws_lb.main.subnet_mapping |
| 14 | + "subnets" : aws_lb.main.subnets |
| 15 | + "tags" : aws_lb.main.tags |
| 16 | + "vpc_id" : aws_lb.main.vpc_id |
| 17 | + "zone_id" : aws_lb.main.zone_id |
| 18 | + } |
| 19 | +} |
| 20 | + |
| 21 | +output "lb_tgs" { |
| 22 | + description = "ALB Target Groups" |
| 23 | + value = { |
| 24 | + "ecs_identification_svc_tg" : { |
| 25 | + "arn" : aws_lb_target_group.ecs_identification_svc_tg.arn |
| 26 | + "arn_suffix" : aws_lb_target_group.ecs_identification_svc_tg.arn_suffix |
| 27 | + "health_check" : aws_lb_target_group.ecs_identification_svc_tg.health_check |
| 28 | + "id" : aws_lb_target_group.ecs_identification_svc_tg.id |
| 29 | + "ip_address_type" : aws_lb_target_group.ecs_identification_svc_tg.ip_address_type |
| 30 | + "name" : aws_lb_target_group.ecs_identification_svc_tg.name |
| 31 | + "name_prefix" : aws_lb_target_group.ecs_identification_svc_tg.name_prefix |
| 32 | + "port" : aws_lb_target_group.ecs_identification_svc_tg.port |
| 33 | + "protocol_version" : aws_lb_target_group.ecs_identification_svc_tg.protocol_version |
| 34 | + "tags" : aws_lb_target_group.ecs_identification_svc_tg.tags |
| 35 | + "target_type" : aws_lb_target_group.ecs_identification_svc_tg.target_type |
| 36 | + "vpc_id" : aws_lb_target_group.ecs_identification_svc_tg.vpc_id |
| 37 | + } |
| 38 | + "ecs_order_svc_tg" : { |
| 39 | + "arn" : aws_lb_target_group.ecs_order_svc_tg.arn |
| 40 | + "arn_suffix" : aws_lb_target_group.ecs_order_svc_tg.arn_suffix |
| 41 | + "health_check" : aws_lb_target_group.ecs_order_svc_tg.health_check |
| 42 | + "id" : aws_lb_target_group.ecs_order_svc_tg.id |
| 43 | + "ip_address_type" : aws_lb_target_group.ecs_order_svc_tg.ip_address_type |
| 44 | + "name" : aws_lb_target_group.ecs_order_svc_tg.name |
| 45 | + "name_prefix" : aws_lb_target_group.ecs_order_svc_tg.name_prefix |
| 46 | + "port" : aws_lb_target_group.ecs_order_svc_tg.port |
| 47 | + "protocol_version" : aws_lb_target_group.ecs_order_svc_tg.protocol_version |
| 48 | + "tags" : aws_lb_target_group.ecs_order_svc_tg.tags |
| 49 | + "target_type" : aws_lb_target_group.ecs_order_svc_tg.target_type |
| 50 | + "vpc_id" : aws_lb_target_group.ecs_order_svc_tg.vpc_id |
| 51 | + } |
| 52 | + "ecs_payment_svc_tg" : { |
| 53 | + "arn" : aws_lb_target_group.ecs_payment_svc_tg.arn |
| 54 | + "arn_suffix" : aws_lb_target_group.ecs_payment_svc_tg.arn_suffix |
| 55 | + "health_check" : aws_lb_target_group.ecs_payment_svc_tg.health_check |
| 56 | + "id" : aws_lb_target_group.ecs_payment_svc_tg.id |
| 57 | + "ip_address_type" : aws_lb_target_group.ecs_payment_svc_tg.ip_address_type |
| 58 | + "name" : aws_lb_target_group.ecs_payment_svc_tg.name |
| 59 | + "name_prefix" : aws_lb_target_group.ecs_payment_svc_tg.name_prefix |
| 60 | + "port" : aws_lb_target_group.ecs_payment_svc_tg.port |
| 61 | + "protocol_version" : aws_lb_target_group.ecs_payment_svc_tg.protocol_version |
| 62 | + "tags" : aws_lb_target_group.ecs_payment_svc_tg.tags |
| 63 | + "target_type" : aws_lb_target_group.ecs_payment_svc_tg.target_type |
| 64 | + "vpc_id" : aws_lb_target_group.ecs_payment_svc_tg.vpc_id |
| 65 | + } |
| 66 | + "ecs_production_svc_tg" : { |
| 67 | + "arn" : aws_lb_target_group.ecs_production_svc_tg.arn |
| 68 | + "arn_suffix" : aws_lb_target_group.ecs_production_svc_tg.arn_suffix |
| 69 | + "health_check" : aws_lb_target_group.ecs_production_svc_tg.health_check |
| 70 | + "id" : aws_lb_target_group.ecs_production_svc_tg.id |
| 71 | + "ip_address_type" : aws_lb_target_group.ecs_production_svc_tg.ip_address_type |
| 72 | + "name" : aws_lb_target_group.ecs_production_svc_tg.name |
| 73 | + "name_prefix" : aws_lb_target_group.ecs_production_svc_tg.name_prefix |
| 74 | + "port" : aws_lb_target_group.ecs_production_svc_tg.port |
| 75 | + "protocol_version" : aws_lb_target_group.ecs_production_svc_tg.protocol_version |
| 76 | + "tags" : aws_lb_target_group.ecs_production_svc_tg.tags |
| 77 | + "target_type" : aws_lb_target_group.ecs_production_svc_tg.target_type |
| 78 | + "vpc_id" : aws_lb_target_group.ecs_production_svc_tg.vpc_id |
| 79 | + } |
| 80 | + } |
| 81 | +} |
| 82 | + |
0 commit comments