-
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