Skip to content

Commit

Permalink
Add autoscaling values to output
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmacedot authored May 1, 2024
1 parent 176dc74 commit 0870cc4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,11 @@ output "aws_cloudwatch_log_group_arn" {
output "aws_cloudwatch_log_group_name" {
value = aws_cloudwatch_log_group.default.name
}

output "autoscaling" {
value = {
resource_id = aws_appautoscaling_target.ecs[0].resource_id
scalable_dimension = aws_appautoscaling_target.ecs[0].scalable_dimension
service_namespace = aws_appautoscaling_target.ecs[0].service_namespace
}
}

0 comments on commit 0870cc4

Please sign in to comment.