File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
operations/deployment/terraform/modules/aws/lb Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff 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)
116109resource "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}
You can’t perform that action at this time.
0 commit comments