Skip to content

Commit

Permalink
fix: pass the value of variable health_check_unhealthy_threshold to t…
Browse files Browse the repository at this point in the history
…he alb_ingress module
  • Loading branch information
guillaume-dussault authored and jbonnier committed Sep 26, 2024
1 parent a2c71ee commit 0f27fdc
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,22 @@ module "alb_ingress" {
source = "cloudposse/alb-ingress/aws"
version = "0.25.1"

vpc_id = var.vpc_id
port = var.service_container_port
protocol = var.service_container_protocol
health_check_enabled = var.health_check_enabled
health_check_path = local.health_check_path
health_check_matcher = var.health_check_matcher
health_check_port = var.health_check_port
health_check_protocol = var.health_check_protocol
health_check_timeout = var.health_check_timeout
health_check_healthy_threshold = var.health_check_healthy_threshold
health_check_interval = var.health_check_interval
default_target_group_enabled = true
stickiness_type = var.alb_ingress_stickiness_type
stickiness_cookie_duration = var.alb_ingress_stickiness_cookie_duration
stickiness_enabled = var.alb_ingress_stickiness_enabled
vpc_id = var.vpc_id
port = var.service_container_port
protocol = var.service_container_protocol
health_check_enabled = var.health_check_enabled
health_check_path = local.health_check_path
health_check_matcher = var.health_check_matcher
health_check_port = var.health_check_port
health_check_protocol = var.health_check_protocol
health_check_timeout = var.health_check_timeout
health_check_healthy_threshold = var.health_check_healthy_threshold
health_check_unhealthy_threshold = var.health_check_unhealthy_threshold
health_check_interval = var.health_check_interval
default_target_group_enabled = true
stickiness_type = var.alb_ingress_stickiness_type
stickiness_cookie_duration = var.alb_ingress_stickiness_cookie_duration
stickiness_enabled = var.alb_ingress_stickiness_enabled

context = module.this.context
attributes = concat(module.this.attributes, [lower(var.service_container_protocol), var.service_container_port])
Expand Down

0 comments on commit 0f27fdc

Please sign in to comment.