Sha256: 49f3c212bb692c074c99711f9b865d7178e8ce6a7497947116750c0140ee5e84
Contents?: true
Size: 479 Bytes
Versions: 20
Compression:
Stored size: 479 Bytes
Contents
module Ufo::S3 class AwsSetup include Ufo::AwsServices include Ufo::Utils::Logging def check! s3.config.region rescue Aws::Errors::MissingRegionError => e logger.info "ERROR: #{e.class}: #{e.message}".color(:red) logger.info <<~EOL Unable to detect the AWS_REGION to make AWS API calls. This is might be because the AWS access has not been set up yet. Please either your ~/.aws files. EOL exit 1 end end end
Version data entries
20 entries across 20 versions & 1 rubygems