diff --git a/main.tf b/main.tf index 46151f5..e228579 100644 --- a/main.tf +++ b/main.tf @@ -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])