You must be logged in to view saved presets
Creates a daily inventory configuration for an entire S3 bucket using ORC format.
resource "aws_s3_bucket" "inventory" {
bucket = "my-tf-inventory-bucket"
}
resource "aws_s3_bucket" "test" {
bucket = "my-tf-test-bucket"
}
resource "aws_s3_bucket_inventory" "test" {
bucket = aws_s3_bucket.test.id
destination {
bucket {
bucket_arn = aws_s3_bucket.inventory.arn
format = "ORC"
}
}
included_object_versions = "All"
name = "EntireBucketDaily"
schedule {
frequency = "Daily"
}
}