1 Answer
- Newest
- Most votes
- Most comments
0
【以下的回答经过翻译处理】 我已经解决了这个问题,我采取的步骤如下:
.elasticbeanstalk.packages.config
文件应该在.ebextensions
中,而不是elasticbeanstalk
中。- 更新
packages.config
文件如下:
packages:
yum:
amazon-linux-extras: []
commands:
01_postgres_activate:
command: sudo amazon-linux-extras enable postgresql10
02_postgres_install:
command: sudo yum install -y postgresql-devel
- 创建新的应用程序和新的环境来完全验证上述步骤是否在新实例上运行。
Relevant content
- asked a year ago
- Accepted Answerasked 6 months ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago