Skip to content

Commit

Permalink
Merge pull request #13 from trussworks/bsik-add-taskdef-output
Browse files Browse the repository at this point in the history
 Add output: task definition family
  • Loading branch information
brainsik authored Sep 10, 2018
2 parents 5c94c9b + 1026459 commit 8d87978
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v1.3.0
rev: v1.4.0
hooks:
- id: check-json
- id: check-merge-conflict
Expand All @@ -12,7 +12,7 @@ repos:
- id: trailing-whitespace

- repo: git://github.com/igorshubovych/markdownlint-cli
rev: v0.11.0
rev: v0.13.0
hooks:
- id: markdownlint

Expand Down
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_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. |
| 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 @@ -18,6 +18,11 @@ output "task_role_name" {
value = "${aws_iam_role.task_role.name}"
}

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

output "awslogs_group" {
description = "Name of the CloudWatch Logs log group containers should use."
value = "${local.awslogs_group}"
Expand Down

0 comments on commit 8d87978

Please sign in to comment.