When I build the war I can see .ebextension folder as shown below.
myapp.war
|------ .ebextensions
|------META-INF
|------org
|------WEB-INF
.ebextensions has two files
configuration.properties and 01do.config
Content of 01do.config
container_commands:
copy-config:
command: "cp .ebextensions/configuration.properties /etc/tomcat7/configuration.properties"
Command given in the config is not getting executed and there are no logs for this in cfn-init.log.
Please help. Thanks in Advance