Skip to content

Commit 236d9ef

Browse files
committed
Add diff suppression for urls, url patterns, and client apps in ACL security rule resource
1 parent fce6847 commit 236d9ef

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

incapsula/resource_acl_security_rule.go

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,22 @@ func resourceACLSecurityRule() *schema.Resource {
6767
DiffSuppressFunc: suppressEquivalentStringDiffs,
6868
},
6969
"urls": &schema.Schema{
70-
Description: "A comma separated list of resource paths. NOTE: this is a 1:1 list with url_patterns e.q: urls = \"Test,/Values\" url_patterns = \"CONTAINS,PREFIX\"",
71-
Type: schema.TypeString,
72-
Optional: true,
70+
Description: "A comma separated list of resource paths. NOTE: this is a 1:1 list with url_patterns e.q: urls = \"Test,/Values\" url_patterns = \"CONTAINS,PREFIX\"",
71+
Type: schema.TypeString,
72+
Optional: true,
73+
DiffSuppressFunc: suppressEquivalentStringDiffs,
7374
},
7475
"url_patterns": &schema.Schema{
75-
Description: "The patterns should be in accordance with the matching urls sent by the urls parameter. Options: CONTAINS | EQUALS | PREFIX | SUFFIX | NOT_EQUALS | NOT_CONTAIN | NOT_PREFIX | NOT_SUFFIX",
76-
Type: schema.TypeString,
77-
Optional: true,
76+
Description: "The patterns should be in accordance with the matching urls sent by the urls parameter. Options: CONTAINS | EQUALS | PREFIX | SUFFIX | NOT_EQUALS | NOT_CONTAIN | NOT_PREFIX | NOT_SUFFIX",
77+
Type: schema.TypeString,
78+
Optional: true,
79+
DiffSuppressFunc: suppressEquivalentStringDiffs,
7880
},
7981
"client_apps": &schema.Schema{
80-
Description: "The client apps",
81-
Type: schema.TypeString,
82-
Optional: true,
82+
Description: "The client apps",
83+
Type: schema.TypeString,
84+
Optional: true,
85+
DiffSuppressFunc: suppressEquivalentStringDiffs,
8386
},
8487
},
8588
}

0 commit comments

Comments
 (0)