Skip to content

Commit 1e3d5fb

Browse files
author
KofoworolaOgunleye
authored
feat: Add support for load_balancing_anomaly_mitigation (#349)
1 parent 40d92a8 commit 1e3d5fb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

examples/complete-alb/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ module "alb" {
359359
port = 80
360360
target_type = "instance"
361361
deregistration_delay = 10
362+
load_balancing_algorithm_type = "weighted_random"
363+
load_balancing_anomaly_mitigation = "on"
362364
load_balancing_cross_zone_enabled = false
363365

364366
health_check = {

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ resource "aws_lb_target_group" "this" {
478478
ip_address_type = try(each.value.ip_address_type, null)
479479
lambda_multi_value_headers_enabled = try(each.value.lambda_multi_value_headers_enabled, null)
480480
load_balancing_algorithm_type = try(each.value.load_balancing_algorithm_type, null)
481+
load_balancing_anomaly_mitigation = try(each.value.load_balancing_anomaly_mitigation, null)
481482
load_balancing_cross_zone_enabled = try(each.value.load_balancing_cross_zone_enabled, null)
482483
name = try(each.value.name, null)
483484
name_prefix = try(each.value.name_prefix, null)

0 commit comments

Comments
 (0)