AWS Parameter Store properties are being refreshed by Actuator Irrespective of Profile used #796
Description
Type: Bug
Component:
"Parameter Store"
Describe the bug
We are using spring-cloud-starter-aws-parameter-store-config-2.2.5.RELEASE
for storing and retrieving the properties from AWS Parameter store and actuator for dynamically refreshing the properties. We have multiple profile-specific properties in same AWS parameter store. When we are calling /refresh
in one environment, it is refreshing all the properties irrespective of the environment the /refresh
endpoint is called.
For example, we have two environment dev
and qa
and the same AWS parameter store is used to store properties. They are separated based on the profiles like below
for DEV: /abcd/xyz/dev/web/username
for QA: /abcd/xyz/qa/web/username
When we are calling the /refresh
endpoint after making changes to the dev specific properties the qa specific properties are also getting refreshed and visa-versa.