From 5a22d40e2ebee39bb1e677a8ae0e8b7926965dbc Mon Sep 17 00:00:00 2001 From: m-nakasaki Date: Thu, 28 Mar 2024 14:36:32 +0900 Subject: [PATCH] add output cluster & asg ARN --- cluster/outputs.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cluster/outputs.tf b/cluster/outputs.tf index 48d26a2..e587e5c 100644 --- a/cluster/outputs.tf +++ b/cluster/outputs.tf @@ -6,6 +6,10 @@ output "cluster_name" { value = aws_ecs_cluster.main.name } +output "cluster_arn" { + value = aws_ecs_cluster.main.arn +} + output "cloudwatch_log_group_name" { value = aws_cloudwatch_log_group.ecs_agent.name } @@ -17,3 +21,7 @@ output "cloudwatch_log_group_arn" { output "autoscaling_group_name" { value = aws_autoscaling_group.app.name } + +output "autoscaling_group_arn" { + value = aws_autoscaling_group.app.arn +}