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ヶ月前305ビュー
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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ