AWS::S3::Bucket LifecycleConfiguration - DEEP_ARCHIVE returns error

0

Hi all,

I am trying to update an existing CloudFormation stack for an AWS::S3::Bucket to modify the LifecycleConfiguration to add a rule for transition to DEEP_ARCHIVE. Unfortunately when deploying the updated template I get the following error:

Value of StorageClass property must be in [STANDARD_IA, GLACIER, Glacier]

The snippet of the template I am using is:

      LifecycleConfiguration:
        Rules:
          - 
            Id: RULE-Lifecycle-MultiPartUpload
            AbortIncompleteMultipartUpload: 
              DaysAfterInitiation: 7
            Status: Enabled
          -
            Id: RULE-Lifecycle-StorageClass
            Transitions:
              -
                StorageClass: DEEP_ARCHIVE
                TransitionInDays: 14
            NoncurrentVersionTransitions:
              -
                StorageClass: DEEP_ARCHIVE
                TransitionInDays: 14               
            Status: Enabled
          - 
            Id: RULE-Lifecycle-Expire-Everything-Eventually
            ExpirationInDays: 3650
            Status: Enabled 

Has CloudFormation not been updated to support DEEP_ARCHIVE yet? I thought it was generally available everywhere already.

Thanks
Nick

Edited by: N Miller on Apr 4, 2019 2:07 PM

demandé il y a 5 ans328 vues
2 réponses
0

Hello there,

The property value LifecycleConfiguration - DEEP_ARCHIVE under the resource AWS::S3::Bucket is currently a feature request. I have added your interest to it. Our Cloudformation team is working on adding the feature.

Thanks,
Nitheesha

profile pictureAWS
répondu il y a 5 ans
0

Thank you :)

I look forward to it being available in the future.

Thanks
Nick

répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions