Skip to content

Commit 06550c2

Browse files
committed
missing aws_lb_resource_arn output
1 parent f38b38f commit 06550c2

File tree

1 file changed

+11
-7
lines changed
  • operations/deployment/terraform/modules/aws/lb

1 file changed

+11
-7
lines changed

operations/deployment/terraform/modules/aws/lb/aws_lb.tf

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,6 @@ resource "aws_lb_target_group_attachment" "vm_alb_attachment" {
104104
port = local.alb_app_port[count.index]
105105
}
106106

107-
# Outputs
108-
output "aws_alb_dns_name" {
109-
value = aws_lb.vm_alb.dns_name
110-
}
111-
output "aws_alb_zone_id" {
112-
value = aws_lb.vm_alb.zone_id
113-
}
114107

115108
# S3 bucket for ALB access logs (created only if logging is enabled)
116109
resource "aws_s3_bucket" "alb_access_logs" {
@@ -183,4 +176,15 @@ locals {
183176
)
184177

185178
# Optionally, you can pad arrays if needed, but min() is safest for count
179+
}
180+
181+
# Outputs
182+
output "aws_alb_dns_name" {
183+
value = aws_lb.vm_alb.dns_name
184+
}
185+
output "aws_alb_zone_id" {
186+
value = aws_lb.vm_alb.zone_id
187+
}
188+
output "aws_lb_resource_arn" {
189+
value = aws_lb.vm_alb.arn
186190
}

0 commit comments

Comments
 (0)