diff --git a/README.md b/README.md index de6d6d2..75a15e3 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,7 @@ Available targets: | alb_arn | The ARN of the ALB | | alb_arn_suffix | The ARN suffix of the ALB | | alb_dns_name | DNS name of ALB | +| alb_name | The ARN suffix of the ALB | | alb_zone_id | The ID of the zone which ALB is provisioned | | default_target_group_arn | The default target group ARN | | http_listener_arn | The ARN of the HTTP listener | diff --git a/docs/terraform.md b/docs/terraform.md index 1981c53..8cdd8dc 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -46,6 +46,7 @@ | alb_arn | The ARN of the ALB | | alb_arn_suffix | The ARN suffix of the ALB | | alb_dns_name | DNS name of ALB | +| alb_name | The ARN suffix of the ALB | | alb_zone_id | The ID of the zone which ALB is provisioned | | default_target_group_arn | The default target group ARN | | http_listener_arn | The ARN of the HTTP listener | diff --git a/outputs.tf b/outputs.tf index abf4275..82e7b4e 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,3 +1,8 @@ +output "alb_name" { + description = "The ARN suffix of the ALB" + value = "${aws_lb.default.name}" +} + output "alb_arn" { description = "The ARN of the ALB" value = "${aws_lb.default.arn}"