Skip to content

Instantly share code, notes, and snippets.

@nikasulo
Created February 27, 2020 01:24
Show Gist options
  • Save nikasulo/363cea54f8355cde08311250ec673233 to your computer and use it in GitHub Desktop.
Save nikasulo/363cea54f8355cde08311250ec673233 to your computer and use it in GitHub Desktop.
Aws.config.update({
region: "us-west-1",
credentials: Aws::Credentials.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']),
})
S3_BUCKET = Aws::S3::Resource.new.bucket(ENV['S3_BUCKET'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment