This template copies an S3 object from one bucket to another and assigns read permissions to all users.

Terraform Template

resource "aws_s3_object_copy" "test" {
  bucket = "destination_bucket"

  grant {
    permissions = ["READ"]
    type = "Group"
    uri = "http://acs.amazonaws.com/groups/global/AllUsers"
  }
  key = "destination_key"
  source = "source_bucket/source_key"
}