Skip to content

Commit af88373

Browse files
authored
Add UI ALB ARN to outputs (#23)
1 parent c46148d commit af88373

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,6 @@ You can find a more complete example that uses this module but also includes set
140140
| <a name="output_metaflow_s3_bucket_arn"></a> [metaflow\_s3\_bucket\_arn](#output\_metaflow\_s3\_bucket\_arn) | The ARN of the bucket we'll be using as blob storage |
141141
| <a name="output_metaflow_s3_bucket_name"></a> [metaflow\_s3\_bucket\_name](#output\_metaflow\_s3\_bucket\_name) | The name of the bucket we'll be using as blob storage |
142142
| <a name="output_migration_function_arn"></a> [migration\_function\_arn](#output\_migration\_function\_arn) | ARN of DB Migration Function |
143+
| <a name="output_ui_alb_arn"></a> [ui\_alb\_arn](#output\_ui\_alb\_arn) | UI ALB ARN |
143144
| <a name="output_ui_alb_dns_name"></a> [ui\_alb\_dns\_name](#output\_ui\_alb\_dns\_name) | UI ALB DNS name |
144145
<!-- END_TF_DOCS -->

modules/ui/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ The services are deployed behind an AWS ALB, and the module will output the ALB
3737

3838
| Name | Description |
3939
|------|-------------|
40+
| <a name="output_alb_arn"></a> [alb\_arn](#output\_alb\_arn) | UI ALB ARN |
4041
| <a name="output_alb_dns_name"></a> [alb\_dns\_name](#output\_alb\_dns\_name) | UI ALB DNS name |
4142
<!-- END_TF_DOCS -->

modules/ui/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ output "alb_dns_name" {
33
value = aws_lb.this.dns_name
44
description = "UI ALB DNS name"
55
}
6+
7+
output "alb_arn" {
8+
value = aws_lb.this.arn
9+
description = "UI ALB ARN"
10+
}

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,8 @@ output "ui_alb_dns_name" {
118118
value = (length(module.metaflow-ui) > 0) ? module.metaflow-ui[0].alb_dns_name : ""
119119
description = "UI ALB DNS name"
120120
}
121+
122+
output "ui_alb_arn" {
123+
value = (length(module.metaflow-ui) > 0) ? module.metaflow-ui[0].alb_arn : ""
124+
description = "UI ALB ARN"
125+
}

0 commit comments

Comments
 (0)