Skip to content

Commit

Permalink
fix outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
zahornyak committed Aug 1, 2023
1 parent 33868f6 commit 25ae2e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ output "ecs_service_name" {
}

output "cloudwatch_log_group_arns" {
value = try(aws_cloudwatch_log_group.service_logs[*].arn, null)
value = try([for k, v in aws_cloudwatch_log_group.service_logs : v.arn], null)
description = "aws cloudwatch log group arns"
}

output "lb_listener_certificate" {
value = try(aws_lb_listener_certificate.this[*].listener_arn, null)
value = try([for k, v in aws_lb_listener_certificate.this : v.listener_arn], null)
description = "lb listener certificate"
}

Expand All @@ -39,7 +39,7 @@ output "acm_arn" {
}

output "target_group_arns" {
value = try(aws_lb_target_group.service[*].arn, null)
value = try([for k, v in aws_lb_target_group.service : v.arn], null)
description = "target group arns"
}

Expand Down

0 comments on commit 25ae2e5

Please sign in to comment.