Sha256: 7e1051fbb7b41460b01cf602741c5c41807059fb57972cdf619c12690212ad60
Contents?: true
Size: 487 Bytes
Versions: 9
Compression:
Stored size: 487 Bytes
Contents
module Capistrano module Autoscale module Aws module Credentials include Capistrano::DSL def credentials credentials = { access_key_id: fetch(:aws_access_key_id, ENV['AWS_ACCESS_KEY_ID']), secret_access_key: fetch(:aws_secret_access_key, ENV['AWS_SECRET_ACCESS_KEY']) } credentials.merge! region: fetch(:aws_region) if fetch(:aws_region) credentials end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems