Skip to content

Overriding SSM parameter store KVPs locally #140

Answered by ashishdhingra
rcdailey asked this question in Q&A
Discussion options

You must be logged in to vote

@rcdailey Thanks for posting the question. If you refer AddSystemsManager, it adds SystemsManagerConfigurationSource so that parameters could be read from Systems Manager parameter store.

Kindly refer Configuration providers that specifies that the Configuration sources are read in the order that their configuration providers are specified and Default application configuration sources for highest to lowest priority of configuration providers. So the configuration provider which is added last has the highest priority.

Based on above assumption, once you call builder.AddSystemsManager(), you can add the JSON configuration provider followed by Environment Variable configuration provider. You…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rcdailey
Comment options

Answer selected by rcdailey
Comment options

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