• Sean McGivern's avatar
    Only try AWS instance profile creds if needed · c9bf0401
    Sean McGivern authored
    `Aws::InstanceProfileCredentials.new` actually performs an API request to AWS,
    which can result in us hitting a rate limit.
    
    Rewrite `Gitlab::Elastic::Client.resolve_aws_credentials` to the slightly more
    verbose, but equally clear, variant, to ensure that we don't call this unless we
    have to - i.e. the static credentials do not work.
    c9bf0401
aws-es-connect-when-needed.yml 157 Bytes