You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Remove remaining cold_storage_after validation blocks from rules variable
Remove problematic validation logic for cold_storage_after fields in the rules variable that was causing CI failures for organization_backup_policy and other examples. These validation blocks had the same null handling issues as the plans variable.
This resolves the failing "Validate Examples (organization_backup_policy)" CI check and ensures all examples can properly handle optional cold_storage_after fields.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
error_message="Rules validation failed: cold_storage_after must be 0 (disabled) or at least 30 days (AWS minimum requirement). To disable cold storage, omit the cold_storage_after parameter entirely or set to 0. This applies to both main rule lifecycle and copy action lifecycle."
327
-
}
328
306
329
-
validation {
330
-
condition=alltrue([
331
-
forruleinvar.rules:alltrue([
332
-
# Validate main rule lifecycle cold_storage_after <= delete_after relationship
error_message="Rules validation failed: cold_storage_after must be ≤ delete_after. This applies to both main rule lifecycle and copy action lifecycle."
0 commit comments