Skip to content

Commit 30662f4

Browse files
committed
Output dns aliases
1 parent ebd64e3 commit 30662f4

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ This software is released under the MIT License (see `LICENSE`).
120120
| Name | Description |
121121
|------|-------------|
122122
| container\_json | - |
123+
| lb\_dns\_aliases | List of DNS aliases add for ALB |
123124
| lb\_dns\_name | FQDN of ALB provisioned for service (if present) |
124125
| lb\_zone\_id | Route 53 zone ID of ALB provisioned for service (if present) |
125126
| service\_iam\_role\_arn | ARN of the IAM Role for the ECS Service |

outputs.tf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
/**/
2-
# TODO: Add these
1+
output "lb_dns_aliases" {
2+
description = "List of DNS aliases add for ALB"
3+
value = "${module.route53-aliases.hostnames}"
4+
}
5+
36
output "lb_dns_name" {
47
description = "FQDN of ALB provisioned for service (if present)"
58
value = "${module.lb.dns_name}"
@@ -10,7 +13,6 @@ output "lb_zone_id" {
1013
value = "${module.lb.zone_id}"
1114
}
1215

13-
/**/
1416
output "task_iam_role_arn" {
1517
description = "ARN of the IAM Role for the ECS Task"
1618
value = "${element(concat(aws_iam_role.task.*.arn, list("")), 0)}"

resource-plan-graph.png

187 KB
Loading

0 commit comments

Comments
 (0)