Skip to content

Instantly share code, notes, and snippets.

View tombeynon's full-sized avatar

Tom Beynon tombeynon

View GitHub Profile
@tombeynon
tombeynon / acl.rb
Created March 8, 2017 14:10
Update ACL for all files in a bucket
require 'aws-sdk'
Aws.config.update({
region: 'REGION_CODE_HERE',
credentials: Aws::Credentials.new(
'ACCESS_KEY_ID_HERE',
'SECRET_ACCESS_KEY_HERE'
)
})
bucket_name = 'BUCKET_NAME_HERE'