question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

S3 Support - Sharing Configuration With All Applications

See original GitHub issue

Hello,

I was reading the documentation section Sharing Configuration With All Applications, and there is no support for the S3 backend. Are you aware is there is a technical limitation to add such support? or if that would be something worth doing?

I was looking at the code in the AwsS3EnvironmentRepository, and with my limited knowledge of the project, I was thinking it could “just” be looking for the application* files as well to see if there was a shared properties already defined.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
IlyasYOYcommented, Aug 18, 2021

Hello, @sp4ce

Once you provide me an access to a S3 bucket, I can start up a config server in Heroku to show case the issue.

As far as I understood you need access to some S3 bucket. If it’s so then it’s not necessary to rent one on Amazon. You can just use minio. Startup a container locally or using test container.

1reaction
ryanjbaxtercommented, Jul 13, 2021

Every EnvironmentRepository implemention will implement a findOne method. This method is passed an application String. If the application variable does not equal application, ie its a specific application name, then we add it as a comma separated value, see https://github.com/spring-cloud/spring-cloud-config/blob/main/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/NativeEnvironmentRepository.java#L222

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using cross-origin resource sharing (CORS)
With CORS support, you can build rich client-side web applications with Amazon S3 and selectively allow cross-origin access to your Amazon S3 resources....
Read more >
Spring Cloud Config Server Composite Configuration (JDBC + ...
This story focuses on composite configuration in spring cloud config with backend as Jdbc (Postgres), Redis and S3.
Read more >
Spring cloud config load client bootstrap.properties from AWS ...
Why S3 ? · Not exposing git/source control to production deployments environment. · Avoiding copying/cloning or maintaing a git server in prod ...
Read more >
Spring Cloud Config Server
Sharing configuration between all applications varies according to which ... Spring Cloud Config Server supports AWS S3 as a backend for configuration ......
Read more >
Externalized Configuration Approaches - Harshad Ranganathan
Objects in an Amazon Simple Storage Service (Amazon S3) bucket ... Supports shared configuration with all applications; Config refresh can ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found