File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,15 @@ resource "aws_alb_listener_rule" "default" {
10
10
}
11
11
12
12
condition {
13
- field = " path-pattern"
14
- values = [local . path_pattern ]
13
+ path_pattern {
14
+ values = [local . path_pattern ]
15
+ }
15
16
}
16
17
17
18
condition {
18
- field = " host-header"
19
- values = [local . host_header ]
19
+ host_header {
20
+ values = [local . host_header ]
21
+ }
20
22
}
21
23
}
22
24
@@ -31,12 +33,14 @@ resource "aws_alb_listener_rule" "set_priority" {
31
33
}
32
34
33
35
condition {
34
- field = " path-pattern"
35
- values = [local . path_pattern ]
36
+ path_pattern {
37
+ values = [local . path_pattern ]
38
+ }
36
39
}
37
40
38
41
condition {
39
- field = " host-header"
40
- values = [local . host_header ]
42
+ host_header {
43
+ values = [local . host_header ]
44
+ }
41
45
}
42
46
}
You can’t perform that action at this time.
0 commit comments