diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4ff20d..67708e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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 diff --git a/README.md b/README.md index c359eb4..a537bef 100644 --- a/README.md +++ b/README.md @@ -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. | diff --git a/outputs.tf b/outputs.tf index 981c9d6..a65c039 100644 --- a/outputs.tf +++ b/outputs.tf @@ -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}"