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

已提問 10 個月前檢視次數 303 次
1 個回答
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
專家
已回答 10 個月前
profile picture
專家
已審閱 10 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南