Scenario:
- AWS Elastic Beanstalk
- Java application
- .ebextensions currently placed in src/main/resources/.ebextensions
Commands are not being executed.
Where is the .ebextensions supposed to go in a Java application?
Scenario:
Commands are not being executed.
Where is the .ebextensions supposed to go in a Java application?
Using Maven I did as follows:
add the following to pom.xml
to transfer the files to the top level of the war when it is built.
Using gradle I did the following
apply plugin: 'war'
to transfer the files to the top level of the war when it is built.
.ebextensions should be placed in the root of WAR.
The WAR structure looks like the following:
Refer to the official AWS docs for further information.
you missed resources, it works when I put the path right