Skip to content

Commit

Permalink
Merge pull request #14 from trussworks/bsik-task-def-arn
Browse files Browse the repository at this point in the history
Add output: task definition ARN
  • Loading branch information
brainsik authored Sep 10, 2018
2 parents 8d87978 + 4f963db commit 821a508
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ module "app_ecs_service" {
| awslogs_group | Name of the CloudWatch Logs log group containers should use. |
| awslogs_group_arn | ARN of the CloudWatch Logs log group containers should use. |
| ecs_security_group_id | Security Group ID assigned to the ECS tasks. |
| task_definition_arn | Full ARN of the Task Definition (including both family and revision). |
| task_definition_family | The family of the Task Definition. |
| task_execution_role_arn | The ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume. |
| task_role_arn | The ARN of the IAM role assumed by Amazon ECS container tasks. |
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ output "task_role_name" {
value = "${aws_iam_role.task_role.name}"
}

output "task_definition_arn" {
description = "Full ARN of the Task Definition (including both family and revision)."
value = "${aws_ecs_task_definition.main.arn}"
}

output "task_definition_family" {
description = "The family of the Task Definition."
value = "${aws_ecs_task_definition.main.family}"
Expand Down

0 comments on commit 821a508

Please sign in to comment.