Limit parameter store requests to the default context and profile. #433
-
using version 2.4.1, wondering if it is possible to configure the property source to avoid making (3/4) calls to paths that don't interest us? We have the following parameter store configuration: spring_profiles_active=env Unfortunately, this is the last path that is requested, following three useless calls, contributing to parameter store throttling exceptions when we spin up multiple fargate containers. useless preliminary calls |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Have you considered using |
Beta Was this translation helpful? Give feedback.
Have you considered using
spring.config.import=aws-parameterstore:/our-prefix/our-context/env
instead of the legacy Spring Cloud Bootstrap context? This will load only what you exactly specify in configuration.