Skip to content

Commit

Permalink
Merge pull request #405 from drastawi/turn-rotation-limit
Browse files Browse the repository at this point in the history
Add validation on schedule layer turn rotation length
  • Loading branch information
Scott McAllister authored Oct 11, 2021
2 parents 23ba885 + 80cf111 commit 1714dd1
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 1714dd1

Please sign in to comment.