Found what looks like an issue with spring.cloud.config.awsS3 with multiple profiles

Open
#2,018 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reviewing the spring.cloud.config.server.awss3 configuration and the profile activation examples described in the issue. Determine whether multiple profiles are supported with AWS S3 and document the required configuration or the limitation, including a working example if supported.

Written by the indexing model from the issue text.

Description

feedback-provided

I have a application.yml and 4 more files application-local.ym, application-dev.yml, application-qa.yml, application-prod.yml. The way it works is that
spring:
profiles:
active:
@activatedProperties@

Will depending on what @activatedProperties@ is, will pull the correct application so if @activatedProperties@ is local, it will pull application-local.ym.

The problem is that to run

cloud:
config:
server:
awss3:
bucket: hp-fetcher-config
region: us-west-2
order: 1

I need to replace

spring:
profiles:
active:
@activatedProperties@

with
spring:
profiles:
active:
awss3

I cant find any docs or examples that show how to run awss3 in multiple profiles

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

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.

More from spring-cloud/spring-cloud-config

All issues in spring-cloud/spring-cloud-config

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.