I'm developing a Spring Boot application, running on AWS. I've installed Spring Cloud AWS starter, but when I try to run integration tests locally, on my laptop, I'm having this error.
Error creating bean with name 'org.springframework.cloud.aws.context.support.io.ResourceLoaderBeanPostProcessor#0': Cannot resolve reference to bean 'amazonS3' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amazonS3': Invocation of init method failed; nested exception is java.lang.IllegalStateException: There is not EC2 meta data available, because the application is not running in the EC2 environment. Region detection is only possible if the application is running on a EC2 instance
Is there a way of running my application without AWS? Only for local integration tests purpose.