I want to add this S3 lifecycle rule to CloudFormation template:
- Prefix: "dumps/"
TagFilters:
- Key: tag
Value: value
ExpirationInDays: 21
NonCurrentVersionTransitions:
- TransitionInDays: 3
StorageClass: "GLACIER"
Status: Enabled
ERROR :
Encountered unsupported property NonCurrentVersionTransitions
Both properties are unsupported :
NonCurrentVersionTransitions
NonCurrentVersionTransition
I followed this doc :
Thanks for your help ..
CodePudding user response:
I think it's a typo problem? CloudFormation doc says NoncurrentVersionTransitions
, not NonCurrentVersionTransitions