我正在使用命令行通过以下命令创建环境:
eb create staging -i t2.small
然后我收到以下错误消息:
2018-07-31 20:13:16 ERROR Each option setting in configuration file .ebextensions/options.config in application version app-c8f2-180731_201302 must be a map. Update each option setting in the configuration file.
当我删除options.config并再次运行命令时,我得到完全相同的错误。更全面:
2018-07-31 20:17:04 INFO createEnvironment is starting.
2018-07-31 20:17:05 INFO Using elasticbeanstalk-us-east-1-413395812799 as Amazon S3 storage bucket for environment data.
2018-07-31 20:17:06 ERROR Each option setting in configuration file .ebextensions/options.config in application version app-c8f2-180731_201651 must be a map. Update each option setting in the configuration file.
2018-07-31 20:17:07 ERROR Failed to launch environment.
ERROR: ServiceError - Failed to launch environment.
因此,似乎Elastic Beanstalk正在缓存该程序的旧版本。
如果是,该如何刷新缓存?
如果没有,为什么即使删除文件后仍然出现错误?