We are trying to implement custom org.eclipse.microprofile.config.spi.ConfigSource
implementation for AWS Systems Manager Parameter Store(SSM)
Everything works well, but we noticed that configSources are created and invoked 3 times and 3
calls are performed to SSM accordingly(first time during the maven build phase).
We use serverless architecture in AWS with native images and as you can
imagine, multiple calls to the external system are not the desired behavior for us because they affect startup time and cost.
Is it possible to prevent that?