To access a database on AWS, the following dependency is needed:
As soon it is added to a Spring Boot project, it can not be started locally because it will throw exceptions like this one:
The solution is to provide some dummy parameters and force Spring to not load some configurations by providing the local run configuration with the following parameters:
Alternatively, this can be added to application.yml: