-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for spring.config.import with S3 backend #161
Comments
Hey @celcius112 , |
Hello @MatejNedic, At the moment, spring-cloud-config-server proposes a S3 module that retrieves I have implemented what spring-cloud-config-server proposes, but using Spring Boot's
I don't think this module should have much more functionality than that, except maybe having a way to override the I guess the usage would be similar to spring-cloud-aws's parameter-store and secrets-manager starters. |
@maciejwalkowiak @MatejNedic,
|
@kunalvarpe good question. It should be consistent with other property sources, for example - if you use |
Hi @maciejwalkowiak I have push the initial commit to the PR #849. Could you please let me know if I am doing the changes in correct direction, also I would be needed some more guidence on respecting the profiles support. |
is it possible to have aws s3 config server without legacy bootstrap? |
@vishal94136 we have S3 |
@maciejwalkowiak thanks a lot for replying and sorry I sentenced it wrong I meant the spring cloud bootstrap. |
# Conflicts: # spring-cloud-aws-dependencies/pom.xml # spring-cloud-aws-modulith/pom.xml # spring-cloud-aws-s3-parent/spring-cloud-aws-s3-cross-region-client/src/main/java/io/awspring/cloud/s3/crossregion/AbstractCrossRegionS3Client.java
# Conflicts: # docs/src/main/asciidoc/s3.adoc # spring-cloud-aws-autoconfigure/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
# Conflicts: # spring-cloud-aws-autoconfigure/src/main/java/io/awspring/cloud/autoconfigure/s3/properties/S3Properties.java
# Conflicts: # spring-cloud-aws-autoconfigure/src/main/java/io/awspring/cloud/autoconfigure/s3/properties/S3Properties.java
Type: Feature
First of all, as a disclaimer, I am not sure whether this feature request should be in this repo or in https://github.com/spring-cloud/spring-cloud-config, as there is already a S3 implementation for the legacy bootstrap.
Similar to the parameter store and secrets manager configuration, it would be great if AWS S3 could be used as external configuration backend, such as:
At the moment,
spring-cloud-config
does not seem to propose Spring Boot'sspring.config.import
property for S3. Since usingspring.config.import
withparameter-store-config
andsecrets-manager-config
simultaneously with the legacy bootstrap with s3 does not seem to work out of the box (
AwsSecretsManagerPropertySourceLocator
andAwsSecretsManagerConfigDataLocationResolver
are both created simultaneously), it is at the moment a blocking point for us for migrating to the newspring.config.import
and correcting #159.The text was updated successfully, but these errors were encountered: