Skip to content

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

@AnthonyCavanagh

Description

@AnthonyCavanagh

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

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