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
We should improve the validation of the configuration in the request. I noticed a few things that AWS does in their verifications, there might be more. e.g.:
if Prefix is sent, then the entire configuration is considered V1 , and any rule that contain a Filter will result in this error
Filter element can only be used in Lifecycle V2.
if using V1, overlapping prefixes in different rules with the same action are not allowed. e.g.:
Found overlapping prefixes 'dir/' and 'di' for same action type 'AbortIncompleteMultipartUpload'
This is accepted in lifecycle V2
We should consider how we want to handle these restrictions and if we want to follow it or be more permisive.
in addition, we should add validations for all other actions before accepting the configuration
Expected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered:
Environment info
Actual behavior
Prefix
fieldPrefix
is sent, then the entire configuration is consideredV1
, and any rule that contain aFilter
will result in this errorExpected behavior
Steps to reproduce
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered: