Skip to content

Commit

Permalink
Add task definition and execution role outputs (#19)
Browse files Browse the repository at this point in the history
* Added execution role to module outputs

* Added task definition outputs
  • Loading branch information
Fdgonzalez authored Jul 30, 2020
1 parent 7ee0a7a commit 5e12c99
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,23 @@ 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
}

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
}

0 comments on commit 5e12c99

Please sign in to comment.