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

gefragt vor 10 Monaten305 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 10 Monaten
profile picture
EXPERTE
überprüft vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen