From cf100397c9fb9ec4602d0dc6f67b8fa9122a547f Mon Sep 17 00:00:00 2001 From: facundo Date: Wed, 29 Jul 2020 16:20:05 -0300 Subject: [PATCH 1/2] Added execution role to module outputs --- outputs.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/outputs.tf b/outputs.tf index fe6341b..2095063 100644 --- a/outputs.tf +++ b/outputs.tf @@ -37,3 +37,13 @@ output "log_group_name" { description = "The name of the Cloudwatch log group for the task." value = aws_cloudwatch_log_group.main.name } + +output "execution_role_arn" { + description = "The Amazon Resource Name (ARN) specifying the ECS execution role." + value = aws_iam_role.execution.arn +} + +output "execution_role_name" { + description = "The name of the ECS execution role." + value = aws_iam_role.execution.name +} \ No newline at end of file From 125eaba9a53a0f3f7cfb6dc4f0a4f20691b1b3b6 Mon Sep 17 00:00:00 2001 From: facundo Date: Thu, 30 Jul 2020 13:12:37 -0300 Subject: [PATCH 2/2] Added task definition outputs --- outputs.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/outputs.tf b/outputs.tf index 2095063..adea074 100644 --- a/outputs.tf +++ b/outputs.tf @@ -46,4 +46,14 @@ output "execution_role_arn" { output "execution_role_name" { description = "The name of the ECS execution role." value = aws_iam_role.execution.name +} + +output "task_definition_arn" { + description = "The Amazon Resource Name (ARN) of the task definition created" + value = aws_ecs_task_definition.task.arn +} + +output "task_definition_name" { + description = "The name of the task definition created" + value = aws_ecs_task_definition.task.arn } \ No newline at end of file