Keyword for Storage class for storage class as : Glacier Instant Retrieval

0

I have written a terraform code for setting up a lifecycle policy for storage class as : Glacier Instant Retrieval I am getting the following error. Can anyone help me with the proper keyword for this storage class.

resource "aws_s3_bucket_lifecycle_configuration" "trackonomics_raw" {

bucket = "cn-dse-affiliate-prod"

rule { id = "EvergreenTrxDeltaArchivalPolicy" status = "Enabled"

transition {
  days          = 90
  storage_class = "GLACIER_IA"
}

filter {
  prefix = "trackonomics/raw/"
}

} }

Error

demandé il y a 10 mois303 vues
1 réponse
1

Hi,

the correct storage class for Glacier Instant Retrieval is GLACIER_IR, see also the documentation https://docs.aws.amazon.com/AmazonS3/latest/API/API_Transition.html#AmazonS3-Type-Transition-StorageClass.

profile pictureAWS
EXPERT
répondu il y a 10 mois
profile picture
EXPERT
vérifié il y a 10 mois

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