allow zero replicas

This commit is contained in:
Xander Flood 2019-11-17 10:35:28 -05:00
parent 20b056aec2
commit 15c89f00a2

View file

@ -700,7 +700,7 @@ func resourceDockerService() *schema.Resource {
Description: "The amount of replicas of the service",
Optional: true,
Default: 1,
ValidateFunc: validateIntegerGeqThan(1),
ValidateFunc: validateIntegerGeqThan(0),
},
},
},