Skip to content

Commit 1799b89

Browse files
remove check on conflicts (#6276) (#12116)
* remove check on conflicts * more changes * add the corresponding conflicts to compute firewall Signed-off-by: Modular Magician <[email protected]>
1 parent 132504b commit 1799b89

4 files changed

+6
-3
lines changed

.changelog/6276.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/resource_compute_firewall.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ one of 'source_ranges', 'source_tags' or 'source_service_accounts' is required.`
324324
Type: schema.TypeString,
325325
},
326326
Set: schema.HashString,
327-
ConflictsWith: []string{"destination_ranges", "source_service_accounts", "target_service_accounts"},
327+
ConflictsWith: []string{"source_service_accounts", "destination_ranges", "target_service_accounts"},
328328
},
329329
"target_service_accounts": {
330330
Type: schema.TypeSet,

google/resource_compute_region_network_endpoint_group.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ and { service="bar2", tag="foo2" } respectively.`,
179179
},
180180
},
181181
},
182-
ConflictsWith: []string{"app_engine", "cloud_function"},
182+
ConflictsWith: []string{"cloud_function", "app_engine"},
183183
},
184184
"description": {
185185
Type: schema.TypeString,

google/resource_compute_resource_policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ exact number of VMs.`,
9494
},
9595
},
9696
},
97-
ConflictsWith: []string{"snapshot_schedule_policy", "instance_schedule_policy"},
97+
ConflictsWith: []string{"instance_schedule_policy", "snapshot_schedule_policy"},
9898
},
9999
"instance_schedule_policy": {
100100
Type: schema.TypeList,

0 commit comments

Comments
 (0)