Skip to content

Commit

Permalink
Add validation on schedule layer turn rotation length
Browse files Browse the repository at this point in the history
  • Loading branch information
drastawi committed Oct 9, 2021
1 parent 7b9df94 commit 80cf111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pagerduty/resource_pagerduty_schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func resourcePagerDutySchedule() *schema.Resource {
"rotation_turn_length_seconds": {
Type: schema.TypeInt,
Required: true,
ValidateFunc: validation.IntBetween(3600, 365 * 24 * 3600),
},

"users": {
Expand Down

0 comments on commit 80cf111

Please sign in to comment.