Overriding SSM parameter store KVPs locally #140
-
I'd like the ability to override SSM parameter store key-value pairs (KVPs) locally using either environment variables or I have two main questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@rcdailey Thanks for posting the question. If you refer AddSystemsManager, it adds 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 Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
@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…