Skip to content

Trying to integrate hyness spring cloud config server with GitHub and AWS secrets manager #132

Closed Answered by hyness
Muni96 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Muni96,

Sounds like you've configured the cloud config server ok since you say the container is up and answering requests. Looking at your error message, it sounds like you have a spring boot application with a configured spring.application.name = gcs-sparta-lock-and-alerts and are usng a profile named dev.

What I can't see is your git repo, but it sounds like you either do not have a config file or it's improperly named. You should name your config file as specified in the Cloud Config Server documentation with {application name}-{profile}.yml, so in your case you would need a config file named gcs-sparta-lock-and-alerts-dev.yml

Example to test with the url you specified...

$ curl…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hyness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants