spring-cloud / spring-cloud/spring-cloud-config

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

Open
#2,397 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

waiting-for-triage
Dominant language
Java
Stars
2k
Forks
1.3k
Avg merge
2d 59m
Merged PRs (30d)
16

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the supplied bootstrap.yml configuration with the corresponding application.yml behavior under Spring Boot 3.2.4 and Spring Cloud 2023.0.0. Reproduce the failure with the AWS S3 composite backend, then determine whether application.yml is supported and document the required configuration or the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java, spring-boot
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.