I am trying to run my own .config file on my elastic beanstalk. I follow the instructions on this link . I created a file called myapp.config and put the following into it:
container_commands: 01_setup_apache: command: "cp .ebextensions/enable_mod_deflate.conf /etc/httpd/conf.d/enable_mod_deflate.conf"
When I run this, I get the following error:
The "commands" in the configuration file .ebextensions / myapp.config in the application version myapp-0.0.33-SNAPSHOT should be a map. Update the βcommandsβ in the configuration file.
This mistake is really mysterious. What am I doing wrong?
My container is apache tomcat 7.
yaml amazon-web-services elastic-beanstalk
Click upvote
source share