spring-cloud / spring-cloud-config

External configuration (server and client) for Spring Cloud
Apache License 2.0
1.94k stars 1.28k forks source link

Moving spring cloud config server with s3 backend from bootstrap.yml to application.yml #2397

Open vishal94136 opened 3 months ago

vishal94136 commented 3 months ago

I created a bootstrap.yml to setup a config server with AWS s3, is it possible to have those configuration on application.yml

spring:
  profiles:
    active: composite
  cloud:
    config:
      server:
        composite:
        - type: awsS3
          region: us-east-1
          bucket: bucket1
        bootstrap: true

this works with bootstrap.yml but not with application.yml, just wanted to know if its not possible with application.yml, if possible what changes i need to make.

I am using sprint boot starter parent v 3.2.4 spring cloud dependencies v 2023.0.0 software.amazon.awssdk s3 v 2.20.26