我想在彈性豆莖上運行一個自定義的.config文件。我遵循this link的指示。我創建了一個名爲myapp.config
文件,並把它下面:在Elastic Beanstalk上運行.config文件?
container_commands:
01_setup_apache:
command: "cp .ebextensions/enable_mod_deflate.conf /etc/httpd/conf.d/enable_mod_deflate.conf"
當我運行它,我得到以下錯誤:
"commands" in configuration file .ebextensions/myapp.config in application version myapp-0.0.33-SNAPSHOT must be a map. Update "commands" in the configuration file.
這種錯誤實在是難以理解。我究竟做錯了什麼?
我的容器是apache tomcat 7.
空間在YAML中很重要。 – PachinSV