title: Missing property sources in Spring Cloud Config Server with S3 Backend
body: <p>We are trying to migrate our Spring Cloud Config Server from a Git Backend to S3.</p>
  <p>With git when we want to get config for the service <code>my-service</code> and profile <code>development</code> we hit</p>
  <p><code>https://my-config-server/my-service/development</code></p>
  <p>and this returns something like</p>
  <pre><code>{
      &quot;name&quot;: &quot;my-service&quot;,
      &quot;profiles&quot;: [
          &quot;development&quot;
      ],
      &quot;label&quot;: null,
      &quot;version&quot;: &quot;fgdfgdfg&quot;,
      &quot;state&quot;: null,
      &quot;propertySources&quot;: [
          {
              &quot;name&quot;: &quot;https://bitbucket.org/company/config-repo.git/my-service-development.yml&quot;,
              &quot;source&quot;: {
                  [properties]
              }
          },
          {
              &quot;name&quot;: &quot;https://bitbucket.org/company/config-repo.git/application-development.yml&quot;,
              &quot;source&quot;: {
                  [properties]
              }
          },
          {
              &quot;name&quot;: &quot;https://bitbucket.org/company/config-repo.git/my-service.yml&quot;,
              &quot;source&quot;: {
                  [properties]
              }
          },
          {
              &quot;name&quot;: &quot;https://bitbucket.org/company/config-repo.git/application.yml&quot;,
              &quot;source&quot;: {
                  [properties]
              }
          }
      ]
  }
  </code></pre>
  <p>And we have the files <code>my-service-development.yml</code>, <code>application-development.yml</code>, <code>my-service.yml</code> and <code>application.yml</code> so that properties in the more specific ones override properties in the more general ones.
  Eg we can set a property in <code>my-service.yml</code> but override it for the development environment in <code>my-service-development.yml</code>. Likewise we can set common properties for an environment (such as database connections or messaging connections in <code>application-development.yml</code>.</p>
  <p>However when we switch to S3 and hit the same URL we only get</p>
  <pre><code>{
      &quot;name&quot;: &quot;my-service&quot;,
      &quot;profiles&quot;: [
          &quot;development&quot;
      ],
      &quot;label&quot;: null,
      &quot;version&quot;: &quot;twtwert&quot;,
      &quot;state&quot;: null,
      &quot;propertySources&quot;: [
          {
              &quot;name&quot;: &quot;s3:my-service-development&quot;,
              &quot;source&quot;: {
                  [properties]
              }
          }
      ]
  }
  </code></pre>
  <p>ie we only get the most specific property source and not the others.</p>
  <p>Is there something we are missing or is this a bug in the S3 implementation?</p>
  <p>We are using spring boot 2.5.4, spring cloud 2020.0.3 and spring-cloud-aws 2.3.2</p>