Skip to content

Commit

Permalink
DSOS-2590: allow healthcheck protocol specify and remove unused varia…
Browse files Browse the repository at this point in the history
…ble (#252)
  • Loading branch information
drobinson-moj authored Feb 1, 2024
1 parent 8d14d1d commit 06257a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ resource "aws_lb_target_group" "this" {
matcher = health_check.value.matcher
path = health_check.value.path
port = health_check.value.port
protocol = health_check.value.protocol
timeout = health_check.value.timeout
unhealthy_threshold = health_check.value.unhealthy_threshold
}
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ variable "lb_target_groups" {
type = map(object({
port = optional(number)
protocol = optional(string)
target_type = string
deregistration_delay = optional(number)
health_check = optional(object({
enabled = optional(bool)
Expand All @@ -250,6 +249,7 @@ variable "lb_target_groups" {
matcher = optional(string)
path = optional(string)
port = optional(number)
protocol = optional(string)
timeout = optional(number)
unhealthy_threshold = optional(number)
}))
Expand Down

0 comments on commit 06257a8

Please sign in to comment.