title: Using spring-cloud-starter-aws outside of AWS
body: <p>I am trying to use spring-cloud-starter-aws for one purpose - so that my ec2 instance can access its elasticache node using the logical name instead of the physical name. My issue is that I want to run this binary in a local context without AWS (not using the elasticache node) but I have not been able to disable. I get an exception: An IOException occured when connecting to service endpoint: <code>http://169.254.169.254/latest/dynamic/instance-identity/document</code>. The exception is: </p>
  
  <pre><code>Error creating bean with name 'org.springframework.cloud.aws.context.support.io.ResourceLoaderBeanPostProcessor#0': 
  Cannot resolve reference to bean 'amazonS3'.
  </code></pre>
  
  <p>I think this is because the aws sdk is calling out to the instance endpoint which I don't have running in a local context. How can I disable this?</p>