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

asked 10 months ago292 views
1 Answer
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
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions