We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ff03d commit 068a578Copy full SHA for 068a578
examples/complete-alb/main.tf
@@ -137,10 +137,14 @@ module "alb" {
137
}]
138
139
conditions = [{
140
- query_string = {
+ query_string = [{
141
key = "video"
142
value = "random"
143
- }
+ },
144
+ {
145
+ key = "image"
146
+ value = "next"
147
+ }]
148
149
}
150
main.tf
@@ -422,7 +422,7 @@ resource "aws_lb_listener_rule" "this" {
422
423
content {
424
dynamic "query_string" {
425
- for_each = try([condition.value.query_string], [])
+ for_each = try(flatten([condition.value.query_string]), [])
426
427
428
key = try(query_string.value.key, null)
0 commit comments