bin/kumogata in kumogata-0.5.5 vs bin/kumogata in kumogata-0.5.6
- old
+ new
@@ -32,9 +32,10 @@
end
if File.exist?(options.config_path) and File.readable?(options.config_path)
ini = AWS::Core::IniParser.parse(File.read(options.config_path))
profile = options.config_profile || 'default'
+ profile = "profile #{profile}" unless profile == 'default'
region = ini[profile]['region']
aws_opts[:region] = region if region
end
[:access_key_id, :secret_access_key, :region].each do |key|