我有以下配置文件:
packages:
yum:
at: []
01_remove_old_cron_jobs:
command: "sudo cp enable_mod_pagespeed.conf /etc/httpd/conf.d"
02_remove_old_cron_jobs:
command: "sudo rpm -U -iv --replacepkgs mod-pagespeed.rpm"
03_remove_old_cron_jobs:
command: "sudo touch /var/cache/mod_pagespeed/cache.flush"
标记为01.config
。当我将它部署到我的服务器时,我收到一个错误,例如:
Error processing file (Skipping): '.ebextensions/01.config' - Contains invalid key: '02_remove_old_cron_jobs'. For information about valid keys, see http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html
但是,该文档不包含有关有效密钥的信息,并且此密钥与我的其他密钥相似。