opentorc / config-wrapper

Wrapper module for managing app configurations w/ AWS param store
MIT License
1 stars 2 forks source link

Initialize SSM inside function to allow it to be mocked #2

Closed callmekatootie closed 2 years ago

callmekatootie commented 2 years ago

For unit tests, we are mocking the SSM service and this needs to be initialized inside a function instead of globally to be able to be mocked