From 18fa377532cb815f00b1fe67eb5de59d04a7b303 Mon Sep 17 00:00:00 2001 From: nimeshpanchal <92348124+panchalnimesh@users.noreply.github.com> Date: Thu, 6 Apr 2023 13:06:20 +0800 Subject: [PATCH] add output for ecs task definition (#12) --- modules/service/outputs.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/service/outputs.tf b/modules/service/outputs.tf index 2a3af46..d201d33 100644 --- a/modules/service/outputs.tf +++ b/modules/service/outputs.tf @@ -7,3 +7,7 @@ output "ecs_service_name" { description = "The name of the ECS service" value = try(aws_ecs_service.this.name, "") } +output "aws_ecs_task_definition" { + description = "ARN of the ECS service" + value = try(aws_ecs_task_definition.this.arn, "") +}