diff --git a/examples/fargate/main.tf b/examples/fargate/main.tf index f3931b5..6786cf6 100644 --- a/examples/fargate/main.tf +++ b/examples/fargate/main.tf @@ -325,17 +325,18 @@ module "alb" { priority = 1 actions = [ { - type = "weighted-forward" - target_groups = [ - { - target_group_key = "ex_ecs" - weight = 100 - }, - { - target_group_key = "ex_ecs_alternate" - weight = 0 - } - ] + weighted_forward = { + target_groups = [ + { + target_group_key = "ex_ecs" + weight = 100 + }, + { + target_group_key = "ex_ecs_alternate" + weight = 0 + } + ] + } } ] conditions = [ @@ -350,13 +351,14 @@ module "alb" { priority = 2 actions = [ { - type = "weighted-forward" - target_groups = [ - { - target_group_key = "ex_ecs_alternate" - weight = 100 - } - ] + weighted_forward = { + target_groups = [ + { + target_group_key = "ex_ecs_alternate" + weight = 100 + } + ] + } } ] conditions = [