Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/pcluster/schemas/cluster_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ class FsxLustreSettingsSchema(BaseSchema):
metadata={"update_policy": UpdatePolicy.SUPPORTED},
)
automatic_backup_retention_days = fields.Int(
validate=validate.Range(min=0, max=35), metadata={"update_policy": UpdatePolicy.SUPPORTED}
validate=validate.Range(min=0, max=90), metadata={"update_policy": UpdatePolicy.SUPPORTED}
)
copy_tags_to_backups = fields.Bool(metadata={"update_policy": UpdatePolicy.UNSUPPORTED})
daily_automatic_backup_start_time = fields.Str(
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/pcluster/schemas/test_schema_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def test_efs_throughput_mode_provisioned_throughput_validator(section_dict, expe
({"AutomaticBackupRetentionDays": ""}, "Not a valid integer"),
({"AutomaticBackupRetentionDays": 0}, None),
({"AutomaticBackupRetentionDays": 35}, None),
({"AutomaticBackupRetentionDays": 36}, "Must be.*less than or equal to 35"),
({"AutomaticBackupRetentionDays": 91}, "Must be.*less than or equal to 90"),
({"CopyTagsToBackups": ""}, "Not a valid boolean"),
({"CopyTagsToBackups": "NONE"}, "Not a valid boolean"),
({"CopyTagsToBackups": True}, None),
Expand Down
Loading