Create S3 Bucket With Default ONEZONE_IA Storage Class


This is my first post on here.

I am looking for a way to create a S3 bucket in Terraform that automatically stores objects using the ONEZONE_IA storage class rather than STANDARD and then using a transition policy. I see when replicating a bucket with “aws_s3_bucket_replication_configuration” you can set “storage_class” in the “destination” element. Is there a way to achieve a similar result for a single bucket without replication?


Keeping this post alive.