Skip to content

Instantly share code, notes, and snippets.

@danielwestendorf
Created October 1, 2016 16:36
Show Gist options
  • Save danielwestendorf/59d7922265a71d186ba4ebd8dbcad7ec to your computer and use it in GitHub Desktop.
Save danielwestendorf/59d7922265a71d186ba4ebd8dbcad7ec to your computer and use it in GitHub Desktop.
# config/initializers/aws.rb
require "aws-sdk"
Aws.config.update({
region: ENV["AWS_REGION"],
credentials: Aws::Credentials.new(ENV["AWS_ACCESS_KEY_ID"], ENV["AWS_SECRET_ACCESS_KEY"])
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment