@@ -114,7 +114,7 @@ func TestAccScalewayLbAcl_Basic(t *testing.T) {
114
114
match {
115
115
ip_subnet = ["192.168.0.1", "192.168.0.2", "192.168.10.0/24"]
116
116
http_filter = "acl_http_filter_none"
117
- http_filter_value = ["criteria1","criteria2" ]
117
+ http_filter_value = []
118
118
invert = "true"
119
119
}
120
120
}
@@ -123,6 +123,7 @@ func TestAccScalewayLbAcl_Basic(t *testing.T) {
123
123
type = "allow"
124
124
}
125
125
match {
126
+ ip_subnet = ["0.0.0.0/0"]
126
127
http_filter = "path_begin"
127
128
http_filter_value = ["criteria1","criteria2"]
128
129
invert = "true"
@@ -133,6 +134,8 @@ func TestAccScalewayLbAcl_Basic(t *testing.T) {
133
134
type = "allow"
134
135
}
135
136
match {
137
+ ip_subnet = ["0.0.0.0/0"]
138
+ http_filter = "path_begin"
136
139
http_filter_value = ["criteria1","criteria2"]
137
140
}
138
141
}
@@ -141,12 +144,14 @@ func TestAccScalewayLbAcl_Basic(t *testing.T) {
141
144
type = "allow"
142
145
}
143
146
match {
147
+ ip_subnet = ["0.0.0.0/0"]
144
148
http_filter = "acl_http_filter_none"
145
- http_filter_value = ["criteria1","criteria2" ]
149
+ http_filter_value = []
146
150
}
147
151
}
148
152
acl {
149
153
match {
154
+ http_filter_value = []
150
155
ip_subnet = ["0.0.0.0/0"]
151
156
}
152
157
action {
@@ -179,8 +184,8 @@ func TestAccScalewayLbAcl_Basic(t *testing.T) {
179
184
{
180
185
Match : & lb.ACLMatch {
181
186
IPSubnet : scw .StringSlicePtr ([]string {"0.0.0.0/0" }),
182
- HTTPFilter : lb .ACLHTTPFilterACLHTTPFilterNone ,
183
- HTTPFilterValue : [] * string {} ,
187
+ HTTPFilter : lb .ACLHTTPFilterPathBegin ,
188
+ HTTPFilterValue : scw . StringSlicePtr ([] string {"criteria1" , "criteria2" }) ,
184
189
Invert : false ,
185
190
},
186
191
Action : & lb.ACLAction {Type : lb .ACLActionTypeAllow },
0 commit comments