Skip to content

Commit

Permalink
Support load_balancers output for target groups
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 committed Jul 15, 2024
1 parent 7ac9db0 commit 3e2041f
Show file tree
Hide file tree
Showing 16 changed files with 56 additions and 16 deletions.
5 changes: 5 additions & 0 deletions modules/alb-instance-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-instance-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.71"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/alb-ip-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-ip-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.37"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/alb-lambda-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/alb-lambda-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.71"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/gwlb-instance-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/gwlb-instance-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.71"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/gwlb-ip-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/gwlb-ip-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.37"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/nlb-alb-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-alb-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.71"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/nlb-instance-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-instance-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.71"
version = ">= 5.38"
}
}
}
5 changes: 5 additions & 0 deletions modules/nlb-ip-target-group/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
output "load_balancers" {
description = "The ARNs (Amazon Resource Name) of the load balancers associated with the target group."
value = aws_lb_target_group.this.load_balancer_arns
}

output "arn" {
description = "The Amazon Resource Name (ARN) of the target group."
value = aws_lb_target_group.this.arn
Expand Down
4 changes: 2 additions & 2 deletions modules/nlb-ip-target-group/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
terraform {
required_version = ">= 1.5"
required_version = ">= 1.6"

required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.37"
version = ">= 5.38"
}
}
}

0 comments on commit 3e2041f

Please sign in to comment.