Skip to content

Commit

Permalink
feat: example to alb example
Browse files Browse the repository at this point in the history
  • Loading branch information
gbloquel-claranet authored and gbloquel committed Mar 21, 2022
1 parent 9d2cc68 commit 1b97f6b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions examples/complete-alb/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,35 @@ module "alb" {
values = ["yes", "please", "right now"]
}]
}]
},
{
http_tcp_listener_index = 0
priority = 4

actions = [{
type = "weighted-forward"
target_groups = [
{
target_group_index = 1
weight = 2
},
{
target_group_index = 0
weight = 1
}
]
stickiness = {
enabled = true
duration = 3600
}
}]

conditions = [{
query_strings = [{
key = "weighted"
value = "true"
}]
}]
},
{
http_tcp_listener_index = 0
Expand Down

0 comments on commit 1b97f6b

Please sign in to comment.