This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Disable Paramstore Startup in Tests #386
Labels
status: wontfix
An issue that is not going to be fixed
I have a Spring Boot app that may run on AWS, and if it does, I'd like to have it pull in ParamStore so I can put credentials there, so I was trying to use
spring-cloud-starter-aws-parameter-store-config
.Since not every invocation will run on AWS, I set the
application.properties
to include:But when I run tests, these fail:
I'm clearly not the only one hitting this issue:
https://stackoverflow.com/questions/53080197/how-to-disable-aws-parameter-store-autoconfiguration-for-tests
But I don't want to have to add a property to every Spring Boot test that's already in my
application.properties
; is there a better way?Spring Cloud version:
v2.0.1-RELEASE
The text was updated successfully, but these errors were encountered: