Creates a daily inventory configuration for an entire S3 bucket using ORC format.

Terraform Template

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"
  }
}