Skip to content

Commit fb8b6e3

Browse files
author
lycbrian
committed
add output
1 parent f990ccb commit fb8b6e3

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log
22

3+
## [v1.4.2] - 2025-08-22
4+
### Added
5+
6+
- output:
7+
- target_group_green_arn
8+
- target_group_green_name
9+
- target_group_green_id
10+
- target_group_name
11+
312
## [v1.4.1] - 2025-08-21
413
### Added
514

outputs.tf

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,26 @@ output "target_group_id" {
2828
value = try(aws_lb_target_group.this[0].id, "")
2929
}
3030

31+
output "target_group_name" {
32+
description = "id - ARN of the Target Group (matches arn)."
33+
value = try(aws_lb_target_group.this[0].name, "")
34+
}
35+
36+
output "target_group_green_arn" {
37+
description = "id - ARN of the green Target Group (matches arn)."
38+
value = try(aws_lb_target_group.green[0].arn, "")
39+
}
40+
41+
output "target_group_green_id" {
42+
description = "id - ARN of the green Target Group (matches arn)."
43+
value = try(aws_lb_target_group.green[0].id, "")
44+
}
45+
46+
output "target_group_green_name" {
47+
description = "id - ARN of the green Target Group (matches arn)."
48+
value = try(aws_lb_target_group.green[0].name, "")
49+
}
50+
3151
output "cloudwatch_log_group_name" {
3252
description = "The name of the log group"
3353
value = try(aws_cloudwatch_log_group.this[0].name, null)

0 commit comments

Comments
 (0)