diff --git a/README.md b/README.md index 6ada5a7..9f8c7a6 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ This software is released under the MIT License (see `LICENSE`). | lb\_dns\_aliases | List of DNS aliases add for ALB | | lb\_dns\_name | FQDN of ALB provisioned for service (if present) | | lb\_zone\_id | Route 53 zone ID of ALB provisioned for service (if present) | +| log\_group\_name | Cloudwatch log group name for service | | service\_arn | ECS service ARN | | service\_iam\_role\_arn | ARN of the IAM Role for the ECS Service | | service\_iam\_role\_name | Name of the IAM Role for the ECS Task | diff --git a/examples/no_lb/README.md b/examples/no_lb/README.md index 4030e4b..36e18b3 100644 --- a/examples/no_lb/README.md +++ b/examples/no_lb/README.md @@ -31,6 +31,7 @@ Note that this example may create resources which cost money. Run `terraform des |------|-------------| | cluster\_arn | ECS cluster ARN | | container\_json | | +| log\_group\_name | Cloudwatch log group name for service | | service\_arn | ECS service ARN | | service\_iam\_role\_arn | ARN of the IAM Role for the ECS Service | | service\_iam\_role\_name | Name of the IAM Role for the ECS Task | diff --git a/examples/no_lb/outputs.tf b/examples/no_lb/outputs.tf index fccbc52..4ed1e81 100644 --- a/examples/no_lb/outputs.tf +++ b/examples/no_lb/outputs.tf @@ -1,3 +1,8 @@ +output "log_group_name" { + description = "Cloudwatch log group name for service" + value = "${module.no_lb.log_group_name}" +} + output "task_iam_role_arn" { description = "ARN of the IAM Role for the ECS Task" value = "${module.no_lb.task_iam_role_arn}" diff --git a/outputs.tf b/outputs.tf index 67a4cf1..3b48fac 100644 --- a/outputs.tf +++ b/outputs.tf @@ -13,6 +13,11 @@ output "lb_zone_id" { value = "${module.lb.zone_id}" } +output "log_group_name" { + description = "Cloudwatch log group name for service" + value = "${local.log_group_name}" +} + output "task_iam_role_arn" { description = "ARN of the IAM Role for the ECS Task" value = "${element(concat(aws_iam_role.task.*.arn, list("")), 0)}" diff --git a/resource-plan-graph.png b/resource-plan-graph.png index 416ebf3..f066bed 100644 Binary files a/resource-plan-graph.png and b/resource-plan-graph.png differ