Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/services/cognitive/cognitive_deployment_resource.go
Original file line number Diff line number Diff line change
@@ -150,7 +150,7 @@ func (r CognitiveDeploymentResource) Arguments() map[string]*pluginsdk.Schema {
Optional: true,
ForceNew: true,
Default: 1,
ValidateFunc: validation.IntBetween(1, 10000),
ValidateFunc: validation.IntAtLeast(1),
},
},
},
@@ -196,7 +196,7 @@ func (r CognitiveDeploymentResource) Arguments() map[string]*pluginsdk.Schema {
Optional: true,
ForceNew: true,
Default: 1,
ValidateFunc: validation.IntBetween(1, 10000),
ValidateFunc: validation.IntAtLeast(1),
},
},
},
2 changes: 1 addition & 1 deletion website/docs/r/cognitive_deployment.html.markdown
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ A `scale` block supports the following:

* `family` - (Optional) If the service has different generations of hardware, for the same SKU, then that can be captured here. Changing this forces a new resource to be created.

* `capacity` - (Optional) If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. Possible values are between `1` and `10000` and the default value is `1`. Changing this forces a new resource to be created.
* `capacity` - (Optional) Tokens-per-Minute (TPM). If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. Default value is `1`. Changing this forces a new resource to be created.

## Attributes Reference

0 comments on commit 104e861

Please sign in to comment.