Skip to content

Commit

Permalink
managed_disk_resource: Add validation for disk_iops_read_write an…
Browse files Browse the repository at this point in the history
…d `disk_mbps_read_write`
  • Loading branch information
myc2h6o committed Nov 4, 2021
1 parent 7f4980a commit db30c83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/services/compute/managed_disk_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,14 @@ func resourceManagedDisk() *pluginsdk.Resource {
Type: pluginsdk.TypeInt,
Optional: true,
Computed: true,
ValidateFunc: validation.IntAtLeast(1),
},

"disk_mbps_read_write": {
Type: pluginsdk.TypeInt,
Optional: true,
Computed: true,
ValidateFunc: validation.IntAtLeast(1),
},

"disk_encryption_set_id": {
Expand Down

0 comments on commit db30c83

Please sign in to comment.