Skip to content

Commit

Permalink
Merge pull request #34 from trussworks/cg_expose_execution_role_name
Browse files Browse the repository at this point in the history
Expose the execution role name as an output
  • Loading branch information
Chris Gilmer authored Dec 27, 2019
2 parents 5fcbdc7 + 6fc37d0 commit 63ec76d
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 @@ -115,6 +115,7 @@ module "app_ecs_service" {
| 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\_execution\_role\_name | The name 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. |
| task\_role\_name | The name 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 @@ -8,6 +8,11 @@ output "task_execution_role_arn" {
value = join("", aws_iam_role.task_execution_role.*.arn)
}

output "task_execution_role_name" {
description = "The name of the task execution role that the Amazon ECS container agent and the Docker daemon can assume."
value = join("", aws_iam_role.task_execution_role.*.name)
}

output "task_role_arn" {
description = "The ARN of the IAM role assumed by Amazon ECS container tasks."
value = aws_iam_role.task_role.arn
Expand Down

0 comments on commit 63ec76d

Please sign in to comment.