Can't Set Retention Duration in a Schedule

When adding or updating a snapshot schedule, a "Retention duration is too long" or "Retention duration is too short" error occurs.

Each schedule within a snapshot policy has its own retention duration, and each type of schedule has a maximum retention duration. For more information, see Snapshot Retention Duration.

Ensure that schedules don't have a retention duration value that's less than the minimum or more than the maximum for the schedule type. The minimum retention duration for a snapshot is one hour.