Skip to content

Commit

Permalink
add default for agg
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Jul 26, 2023
1 parent 6529080 commit ad28cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/resource_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func resourceDevice() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(2, 8),
Default: 0,
DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool {
if old == strconv.Itoa(0) && new == "" {
return true
Expand Down

0 comments on commit ad28cdd

Please sign in to comment.