title: Spring Boot SimpleDiscoveryClient YAML configuration
body: <p>I have a microservice <code>serviceA</code> that uses feign client to access another microservice.</p>
  <p>During development, I want to rely on <code>SimpleDiscoveryClient</code> to get an instance of the service running in my docker daemon. If I configure <code>spring.cloud.discovery.client.simple.instances.serviceA[0].uri=http://localhost:8081</code> then SimpleDiscoveryClient recognizes the <code>serviceA</code> and feign client works.</p>
  <p>If I try to configure <code>SimpleDiscoveryClient</code> using <code>yaml</code> as below it doesn't recognize the service:</p>
  <pre class="lang-yaml prettyprint-override"><code>spring:
    cloud:
      discovery:
        client:
          simple:
            instances:
              serviceA:
                - uri: &quot;http://localhost:8081&quot;
  </code></pre>
  <p>This doesn't make sense to me.</p>
  <p>I don't want to have an application.properties and application.yml just for that.</p>
  <p>Am I missing something?</p>