File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ func resourceIPSet() *schema.Resource {
111
111
Optional : true ,
112
112
Computed : true ,
113
113
ForceNew : true ,
114
- ConflictsWith : []string {"name_prefix" },
114
+ ConflictsWith : []string {names . AttrNamePrefix },
115
115
ValidateFunc : validation .All (
116
116
validation .StringLenBetween (1 , 128 ),
117
117
validation .StringMatch (regexache .MustCompile (`^[0-9A-Za-z_-]+$` ), "must contain only alphanumeric hyphen and underscore characters" ),
@@ -122,7 +122,7 @@ func resourceIPSet() *schema.Resource {
122
122
Optional : true ,
123
123
Computed : true ,
124
124
ForceNew : true ,
125
- ConflictsWith : []string {"name" },
125
+ ConflictsWith : []string {names . AttrName },
126
126
ValidateFunc : validation .All (
127
127
validation .StringLenBetween (1 , 128 - id .UniqueIDSuffixLength ),
128
128
validation .StringMatch (regexache .MustCompile (`^[0-9A-Za-z_-]+$` ), "must contain only alphanumeric hyphen and underscore characters" ),
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ func resourceRegexPatternSet() *schema.Resource {
74
74
Optional : true ,
75
75
Computed : true ,
76
76
ForceNew : true ,
77
- ConflictsWith : []string {"name_prefix" },
77
+ ConflictsWith : []string {names . AttrNamePrefix },
78
78
ValidateFunc : validation .All (
79
79
validation .StringLenBetween (1 , 128 ),
80
80
validation .StringMatch (regexache .MustCompile (`^[0-9A-Za-z_-]+$` ), "must contain only alphanumeric hyphen and underscore characters" ),
@@ -85,7 +85,7 @@ func resourceRegexPatternSet() *schema.Resource {
85
85
Optional : true ,
86
86
Computed : true ,
87
87
ForceNew : true ,
88
- ConflictsWith : []string {"name" },
88
+ ConflictsWith : []string {names . AttrName },
89
89
ValidateFunc : validation .All (
90
90
validation .StringLenBetween (1 , 128 - id .UniqueIDSuffixLength ),
91
91
validation .StringMatch (regexache .MustCompile (`^[0-9A-Za-z_-]+$` ), "must contain only alphanumeric hyphen and underscore characters" ),
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ func resourceWebACL() *schema.Resource {
100
100
Optional : true ,
101
101
Computed : true ,
102
102
ForceNew : true ,
103
- ConflictsWith : []string {"name_prefix" },
103
+ ConflictsWith : []string {names . AttrNamePrefix },
104
104
ValidateFunc : validation .All (
105
105
validation .StringLenBetween (1 , 128 ),
106
106
validation .StringMatch (regexache .MustCompile (`^[0-9A-Za-z_-]+$` ), "must contain only alphanumeric hyphen and underscore characters" ),
@@ -111,7 +111,7 @@ func resourceWebACL() *schema.Resource {
111
111
Optional : true ,
112
112
Computed : true ,
113
113
ForceNew : true ,
114
- ConflictsWith : []string {"name" },
114
+ ConflictsWith : []string {names . AttrName },
115
115
ValidateFunc : validation .All (
116
116
validation .StringLenBetween (1 , 128 - id .UniqueIDSuffixLength ),
117
117
validation .StringMatch (regexache .MustCompile (`^[0-9A-Za-z_-]+$` ), "must contain only alphanumeric hyphen and underscore characters" ),
You can’t perform that action at this time.
0 commit comments