lib/heirloom/cli/shared.rb in heirloom-0.12.0 vs lib/heirloom/cli/shared.rb in heirloom-0.12.1

- old
+ new

@@ -8,9 +8,14 @@ config = Config.new :logger => logger, :environment => opts[:environment] config.access_key = opts[:aws_access_key] if opts[:aws_access_key] config.secret_key = opts[:aws_secret_key] if opts[:aws_secret_key] config.metadata_region = opts[:metadata_region] if opts[:metadata_region] config.use_iam_profile = opts[:use_iam_profile] if opts[:use_iam_profile] + if config.proxy + logger.debug "Using proxy #{config.proxy} from https_proxy environment variable." + else + logger.debug "Proxy environment variable https_proxy not set." + end config end def ensure_valid_secret(args) config = args[:config]