Skip to content

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

Open
@vishal94136

Description

@vishal94136

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions